diff options
-rw-r--r-- | etc/completion | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/etc/completion b/etc/completion index 2ccda63..95f24bd 100644 --- a/etc/completion +++ b/etc/completion @@ -33,5 +33,10 @@ zstyle ':completion:*:*:(todo|td*):*:items' menu yes _hosts() { compadd derf.homelinux.org kraftwerk saviour kappa nemesis aneurysm;} -[[ -r $compdump ]] || echo "Re-creating completion cache, please wait..." -compinit -C -d $compdump +if [[ -r $compdump ]] { + compinit -C -d $compdump +} else { + echo -n "Re-creating completion cache..." + compinit -d $compdump + echo "ok" +} |