Commit 577d8a9a authored by Robby Russell's avatar Robby Russell
Browse files

Merge pull request #1155 from s3dev/s3dev

Change hardcoded ~/.oh-my-zsh to $ZSH.
parents c6698684 1bb71596
...@@ -46,7 +46,7 @@ zstyle ':completion:*:hosts' hosts $hosts ...@@ -46,7 +46,7 @@ zstyle ':completion:*:hosts' hosts $hosts
# Use caching so that commands like apt and dpkg complete are useable # Use caching so that commands like apt and dpkg complete are useable
zstyle ':completion::complete:*' use-cache 1 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 # Don't complete uninteresting users
zstyle ':completion:*:*:*:users' ignored-patterns \ zstyle ':completion:*:*:*:users' ignored-patterns \
......
...@@ -12,7 +12,7 @@ dirpersistinstall () { ...@@ -12,7 +12,7 @@ dirpersistinstall () {
if grep 'dirpersiststore' ~/.zlogout > /dev/null; then if grep 'dirpersiststore' ~/.zlogout > /dev/null; then
else else
if read -q \?"Would you like to set up your .zlogout file for use with dirspersist? (y/n) "; then 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 else
echo "If you don't want this message to appear, remove dirspersist from \$plugins" echo "If you don't want this message to appear, remove dirspersist from \$plugins"
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment