Permalink
Browse files

Change hardcoded ~/.oh-my-zsh to $ZSH.

  • Loading branch information...
1 parent caa1554 commit 1bb715965c1dde1ed6f4456b462ae59e1b3769da s3 committed Jun 12, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/completion.zsh
  2. +1 −1 plugins/dirpersist/dirpersist.plugin.zsh
View
2 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 \
View
2 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

0 comments on commit 1bb7159

Please sign in to comment.