summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2014-10-22 15:16:15 +0200
committerMarc Cornellà <marc.cornella@live.com>2014-10-22 15:39:27 +0200
commit36e05e95adf6218eb8c154706a5a101b687d6368 (patch)
tree2a3e95518449110da8df25adbbc35b4f87233f91
parent96e4e5dd032d2df75f87d5b3e5594d527c655b16 (diff)
downloadzsh-36e05e95adf6218eb8c154706a5a101b687d6368.tar.gz
zsh-36e05e95adf6218eb8c154706a5a101b687d6368.tar.bz2
zsh-36e05e95adf6218eb8c154706a5a101b687d6368.zip
Don't set auto_name_dirs because it messes up prompts
From http://zsh.sourceforge.net/Doc/Release/Options.html#Completion-4 > AUTO_NAME_DIRS > Any parameter that is set to the absolute name of a directory immediately > becomes a name for that directory, that will be used by the ‘%~’ and > related prompt sequences, and will be available when completion is performed > on a word starting with ‘~’. > (Otherwise, the parameter must be used in the form ‘~param’ first.) Explained in more detail in https://github.com/wayneeseguin/rvm/issues/3091#issuecomment-60083194 Related issues: https://github.com/robbyrussell/oh-my-zsh/issues/2857 https://github.com/robbyrussell/oh-my-zsh/issues/3238 https://github.com/wayneeseguin/rvm/issues/3091
-rw-r--r--lib/directories.zsh1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/directories.zsh b/lib/directories.zsh
index 1896945f4..02743e0c7 100644
--- a/lib/directories.zsh
+++ b/lib/directories.zsh
@@ -1,5 +1,4 @@
# Changing/making/removing directory
-setopt auto_name_dirs
setopt auto_pushd
setopt pushd_ignore_dups
setopt pushdminus