summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-11-29 16:32:41 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-11-29 16:32:41 +0100
commit746c256d1e2988b543ad562bf43324ca353b4fa0 (patch)
treea27a53d4bd5f6b52290208736eb0a889c22b1af7
parente3dc534ec1ebf3d916d039be870597595aec68c5 (diff)
zshrc: Print note when creating completion cache
-rw-r--r--etc/rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index b2bf7fa..a6d6513 100644
--- a/etc/rc
+++ b/etc/rc
@@ -601,6 +601,7 @@ zstyle ':completion:*:manuals.*' insert-sections true
# $hosts is set from the hosts package
zstyle ':completion:*' hosts ${(k)hosts}
+[[ -e $ZCACHEDIR/compdump ]] || zrc_info "Creating completion cache"
compinit -C -d $ZCACHEDIR/compdump
compdef _hosts sshmount