aboutsummaryrefslogtreecommitdiffstats
path: root/_zsh
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@gmail.com>2016-05-02 19:39:41 +0800
committerAaron LI <aaronly.me@gmail.com>2016-05-02 19:39:41 +0800
commit24a547b72ccf504151ae24beb309e838fe193eb9 (patch)
tree700c864375f2d3b7021167100ecb40d62e05099d /_zsh
parent21e7ea1fb8cef99dd0f40834c55288e79480346c (diff)
downloaddotfiles-24a547b72ccf504151ae24beb309e838fe193eb9.tar.bz2
_zsh: adjust directory stack settings
Diffstat (limited to '_zsh')
-rw-r--r--_zsh/10-setopt.zsh4
1 files changed, 4 insertions, 0 deletions
diff --git a/_zsh/10-setopt.zsh b/_zsh/10-setopt.zsh
index fb8b5e8..c415dc3 100644
--- a/_zsh/10-setopt.zsh
+++ b/_zsh/10-setopt.zsh
@@ -10,6 +10,10 @@ setopt AUTO_CD
setopt AUTO_PUSHD
# don't push multiple copies of the same directory into the directory stack
setopt PUSHD_IGNORE_DUPS
+# exchange meanings of `+` and `-` when specifying a directory in the stack
+setopt PUSHD_MINUS
+# do not print the directory stack after `pushd` or `popd`
+setopt PUSHD_SILENT
# treat #, ~, and ^ as part of patterns for filename generation
setopt EXTENDED_GLOB
# allow comments even in interactive shells (especially for Muness)