summaryrefslogtreecommitdiff
path: root/zsh/index.zsh
diff options
context:
space:
mode:
authorSkladnayazebra <skladnayazebra@gmail.com>2026-03-29 22:26:14 +0200
committerSkladnayazebra <skladnayazebra@gmail.com>2026-03-29 22:26:14 +0200
commit1f73c99707170f2b2617a272f00481997cc4dac0 (patch)
tree92a3bd99d91787ffdd5a3ea69895239fed2386fe /zsh/index.zsh
parentf4188a8186803f4f49288f832e7573cfffce6289 (diff)
zsh: add cdr utility and new prompt
Diffstat (limited to 'zsh/index.zsh')
-rw-r--r--zsh/index.zsh6
1 files changed, 6 insertions, 0 deletions
diff --git a/zsh/index.zsh b/zsh/index.zsh
index f3cded4..80c2e37 100644
--- a/zsh/index.zsh
+++ b/zsh/index.zsh
@@ -13,6 +13,12 @@ zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}'
zstyle ':completion:*' menu select
# End lf lines added by compinstall
+# cdr utility - see zshcontrib(1)
+autoload -Uz chpwd_recent_dirs cdr add-zsh-hook
+add-zsh-hook chpwd chpwd_recent_dirs
+zstyle ':completion:*:*:cdr:*:*' menu selection
+
+
source ~/.config/zsh/prompt.zsh
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh