From 23332b2866c6b64c0668f0bba50c5c36aed3f643 Mon Sep 17 00:00:00 2001 From: David Majnemer Date: Mon, 10 May 2010 00:35:32 -0500 Subject: [PATCH] be more friendly to different hosts --- zsh/completion | 2 +- zshrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh/completion b/zsh/completion index 4e49a82..ce65393 100755 --- a/zsh/completion +++ b/zsh/completion @@ -26,7 +26,7 @@ zstyle -e ':completion:*' users "reply=( root '${USERNAME}' )" # caching good zstyle ':completion:*' use-cache on -zstyle ':completion:*' cache-path "${HOME}/.zsh/.${HOST}-cache" +zstyle ':completion:*' cache-path "${HOME}/.zsh/.zcompcache-${HOST}" # descriptions zstyle ':completion:*:messages' format $'%{\e[01;35m%} -- %d -- %{\e[00;00m%}' diff --git a/zshrc b/zshrc index e0db595..637aad4 100644 --- a/zshrc +++ b/zshrc @@ -3,7 +3,7 @@ # Trivial modifications: David Majnemer # vim:set nowrap: -autoload compinit; compinit -d "${HOME}/.zsh/.zcompdump" +autoload compinit; compinit -d "${HOME}/.zsh/.zcompdump-${HOST}" autoload age autoload zmv