aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLibravatar sommerfeld <[email protected]>2026-04-17 10:53:32 +0100
committerLibravatar sommerfeld <[email protected]>2026-04-17 10:53:32 +0100
commit788856ff716659eeb0f230320689aeb0f82fb961 (patch)
tree34fd0fe65d586a4635a1742c985212663042e963
parentd2b67f5b2f6bf51aadb33e87f167ff998f034d78 (diff)
downloaddotfiles-788856ff716659eeb0f230320689aeb0f82fb961.tar.gz
dotfiles-788856ff716659eeb0f230320689aeb0f82fb961.tar.bz2
dotfiles-788856ff716659eeb0f230320689aeb0f82fb961.zip
feat: add zoxide for smart directory jumping
z foo → jump to best frecency-ranked directory matching "foo" zi → interactive fzf picker for directory history Much more powerful than cdr — learns from usage patterns across all sessions and ranks by frequency + recency (frecency algorithm).
-rw-r--r--home/.config/zsh/.zshrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/home/.config/zsh/.zshrc b/home/.config/zsh/.zshrc
index a692de0..412b628 100644
--- a/home/.config/zsh/.zshrc
+++ b/home/.config/zsh/.zshrc
@@ -252,6 +252,11 @@ compdef l=lsd la=lsd lt=lsd
# Refresh gpg-agent's TTY so pinentry prompts appear in the right terminal
gpg-connect-agent updatestartuptty /bye &>/dev/null
+# ── Zoxide (smart directory jumping) ──────────────────────────────────────────
+# z foo → jump to frecency-ranked dir matching "foo"
+# zi → interactive picker with fzf
+eval "$(zoxide init zsh)"
+
# ── FZF ───────────────────────────────────────────────────────────────────────
source <(fzf --zsh)