diff options
| author | s3 <s3+dev@sdfeu.org> | 2012-06-12 10:18:02 +0200 | 
|---|---|---|
| committer | s3 <s3+dev@sdfeu.org> | 2012-06-12 10:18:02 +0200 | 
| commit | 1bb715965c1dde1ed6f4456b462ae59e1b3769da (patch) | |
| tree | d74ddc7602e77a60e417182ca76c97300e3a42a0 | |
| parent | caa15548c107b9c31f61a67547ffab0b0cfe4934 (diff) | |
| download | zsh-1bb715965c1dde1ed6f4456b462ae59e1b3769da.tar.gz zsh-1bb715965c1dde1ed6f4456b462ae59e1b3769da.tar.bz2 zsh-1bb715965c1dde1ed6f4456b462ae59e1b3769da.zip | |
Change hardcoded ~/.oh-my-zsh to $ZSH.
| -rw-r--r-- | lib/completion.zsh | 2 | ||||
| -rw-r--r-- | plugins/dirpersist/dirpersist.plugin.zsh | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/lib/completion.zsh b/lib/completion.zsh index b964595ed..f31e101d5 100644 --- a/lib/completion.zsh +++ b/lib/completion.zsh @@ -46,7 +46,7 @@ zstyle ':completion:*:hosts' hosts $hosts  # Use caching so that commands like apt and dpkg complete are useable  zstyle ':completion::complete:*' use-cache 1 -zstyle ':completion::complete:*' cache-path ~/.oh-my-zsh/cache/ +zstyle ':completion::complete:*' cache-path $ZSH/cache/  # Don't complete uninteresting users  zstyle ':completion:*:*:*:users' ignored-patterns \ diff --git a/plugins/dirpersist/dirpersist.plugin.zsh b/plugins/dirpersist/dirpersist.plugin.zsh index 6a2b289a2..0f6d9f435 100644 --- a/plugins/dirpersist/dirpersist.plugin.zsh +++ b/plugins/dirpersist/dirpersist.plugin.zsh @@ -12,7 +12,7 @@ dirpersistinstall () {      if grep 'dirpersiststore' ~/.zlogout > /dev/null; then      else          if read -q \?"Would you like to set up your .zlogout file for use with dirspersist? (y/n) "; then -            echo "# Store dirs stack\n# See ~/.oh-my-zsh/plugins/dirspersist.plugin.zsh\ndirpersiststore" >> ~/.zlogout +            echo "# Store dirs stack\n# See $ZSH/plugins/dirspersist.plugin.zsh\ndirpersiststore" >> ~/.zlogout          else              echo "If you don't want this message to appear, remove dirspersist from \$plugins"          fi | 
