577d8a9a7cb61431449638b57474b07bfa32fa43
- Author
- Robby Russell <robby@planetargon.com>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Merge pull request #1155 from s3dev/s3dev
Change hardcoded ~/.oh-my-zsh to $ZSH.
Diff
1diff --git a/lib/completion.zsh b/lib/completion.zsh
2index b964595edfbaec82a87a7b44c1c3b2088dbd3a69..f31e101d5d2c9ad441af6468b8327b0c675997c8 100644
3--- a/lib/completion.zsh
4+++ b/lib/completion.zsh
5@@ -46,7 +46,7 @@ zstyle ':completion:*:hosts' hosts $hosts
6
7 # Use caching so that commands like apt and dpkg complete are useable
8 zstyle ':completion::complete:*' use-cache 1
9-zstyle ':completion::complete:*' cache-path ~/.oh-my-zsh/cache/
10+zstyle ':completion::complete:*' cache-path $ZSH/cache/
11
12 # Don't complete uninteresting users
13 zstyle ':completion:*:*:*:users' ignored-patterns \
14diff --git a/plugins/dirpersist/dirpersist.plugin.zsh b/plugins/dirpersist/dirpersist.plugin.zsh
15index 6a2b289a2881abeeee97a47fb40dfffeb07c6077..0f6d9f435a5c318d6bd7674c4154d8ad9eb18184 100644
16--- a/plugins/dirpersist/dirpersist.plugin.zsh
17+++ b/plugins/dirpersist/dirpersist.plugin.zsh
18@@ -12,7 +12,7 @@ dirpersistinstall () {
19 if grep 'dirpersiststore' ~/.zlogout > /dev/null; then
20 else
21 if read -q \?"Would you like to set up your .zlogout file for use with dirspersist? (y/n) "; then
22- echo "# Store dirs stack\n# See ~/.oh-my-zsh/plugins/dirspersist.plugin.zsh\ndirpersiststore" >> ~/.zlogout
23+ echo "# Store dirs stack\n# See $ZSH/plugins/dirspersist.plugin.zsh\ndirpersiststore" >> ~/.zlogout
24 else
25 echo "If you don't want this message to appear, remove dirspersist from \$plugins"
26 fi