From 69e4ee23c27cd610f33a4cc2a780ec9860c049f9 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 12 Mar 2009 20:33:45 +0100 Subject: Don't print completion cache message, since completion is already announced --- etc/completion | 7 +------ etc/parameters | 3 +-- 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 -- cgit v1.2.3