From 1f73c99707170f2b2617a272f00481997cc4dac0 Mon Sep 17 00:00:00 2001 From: Skladnayazebra Date: Sun, 29 Mar 2026 22:26:14 +0200 Subject: zsh: add cdr utility and new prompt --- zsh/index.zsh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'zsh/index.zsh') 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 -- cgit v1.3.1