diff options
Diffstat (limited to 'helpers')
-rwxr-xr-x | helpers/unmerged-completions | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/helpers/unmerged-completions b/helpers/unmerged-completions new file mode 100755 index 0000000..b202a1f --- /dev/null +++ b/helpers/unmerged-completions @@ -0,0 +1,12 @@ +#!/usr/bin/env zsh + +avail=($(echo ~/var/source/zsh/Completion/**/*(-.N:t))) + +for file in etc/completions/*(:t); do + if (( $avail[(I)$file] )); then + echo -n $'\e[0;32m' + else + echo -n $'\e[0;31m' + fi + echo ${file} +done |