From 2e9a77a8dba5b49417ef01452d8278cc9f70e1db Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 29 Jul 2012 16:23:52 +0200 Subject: add unmerged-completions helper --- helpers/unmerged-completions | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 helpers/unmerged-completions (limited to 'helpers/unmerged-completions') 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 -- cgit v1.2.3