summaryrefslogtreecommitdiff
path: root/helpers/unmerged-completions
blob: b202a1f70d5f033e288330dd74ae2455e46a8786 (plain)
1
2
3
4
5
6
7
8
9
10
11
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