From 26142aca7401862cd541ced534ca91bb7d7304ce Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 25 Oct 2008 18:17:11 +0200 Subject: Added need-comp --- etc/functions/need-comp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 etc/functions/need-comp (limited to 'etc') diff --git a/etc/functions/need-comp b/etc/functions/need-comp new file mode 100644 index 0000000..a38b561 --- /dev/null +++ b/etc/functions/need-comp @@ -0,0 +1,9 @@ +## vim:ft=zsh + +check_comp() { + ((! $+_comps[$1])) && print $1 +} + +{ + for f ($^path/*(N:t)) check_comp $f +} | sort -- cgit v1.2.3