summaryrefslogtreecommitdiff
path: root/etc/completion
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-10-08 11:12:07 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-10-08 11:12:07 +0200
commit16206edfa1ddaece9c32f7141509b20b8962fe06 (patch)
tree8be8cbe933678b59e412ebbb8e2fe497bc12b701 /etc/completion
parentc84ddbdc6905b98304c1a39cad1c94c9cb0e62ff (diff)
etc/completion: Spit out a message when the completion cache is recreated
Diffstat (limited to 'etc/completion')
-rw-r--r--etc/completion3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/completion b/etc/completion
index 4fed4d6..a5eaff0 100644
--- a/etc/completion
+++ b/etc/completion
@@ -33,4 +33,5 @@ zstyle ':completion:*:*:(todo|td*):*:items' menu yes
_hosts() { compadd derf.homelinux.org kraftwerk saviour kappa nemesis aneurysm;}
-compinit -C -d var/cache/zsh/compdump
+[[ -r $compdump ]] || echo "Re-creating completion cache, please wait..."
+compinit -C -d $compdump