summaryrefslogtreecommitdiff
path: root/.zsh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.zsh/zshrc10
1 files changed, 9 insertions, 1 deletions
diff --git a/.zsh/zshrc b/.zsh/zshrc
index 8f4f567..acf1403 100644
--- a/.zsh/zshrc
+++ b/.zsh/zshrc
@@ -323,7 +323,15 @@ setopt auto_continue # disown implies 'bg'
#################################################
# load zmv
-autoload -U zmv
+autoload -Uz zmv
+
+# cdr
+autoload -Uz chpwd_recent_dirs cdr
+add-zsh-hook chpwd chpwd_recent_dirs
+
+zstyle ':completion:*:*:cdr:*:*' menu selection
+zstyle ':chpwd:*' recent-dirs-default true
+zstyle ':completion:*' recent-dirs-insert both
# }}}