summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/completion7
-rw-r--r--etc/parameters3
2 files changed, 2 insertions, 8 deletions
diff --git a/etc/completion b/etc/completion
index 91b081f..46d9d6e 100644
--- a/etc/completion
+++ b/etc/completion
@@ -48,12 +48,7 @@ zstyle ':completion:*:manuals.*' insert-sections true
# $hosts is set from the hosts package
zstyle -e ':completion:*' hosts 'reply=(${(k)hosts})'
-if [[ -r $compdump ]] {
- compinit -C -d $compdump
-} else {
- zrc_status "Creating completion cache"
- compinit -d $compdump
-}
+compinit -C -d $compdump
compdef _hosts sshmount
compdef _functions reload
diff --git a/etc/parameters b/etc/parameters
index 8246445..13e05c5 100644
--- a/etc/parameters
+++ b/etc/parameters
@@ -16,8 +16,7 @@ LISTMAX=0
# be accurate
TIMEFMT='%J (%P) - %*E real, %*U user, %*S system'
-# the completion snippet will check if the compdump exists.
-# If it doesn't, it will print a nice "creating compdump" message
+# completion cache for compinit
compdump=~/var/cache/zsh/compdump
# Add my own executables, if they're not already in the path