diff options
| author | 2026-04-17 10:53:32 +0100 | |
|---|---|---|
| committer | 2026-04-17 10:53:32 +0100 | |
| commit | 788856ff716659eeb0f230320689aeb0f82fb961 (patch) | |
| tree | 34fd0fe65d586a4635a1742c985212663042e963 /home | |
| parent | d2b67f5b2f6bf51aadb33e87f167ff998f034d78 (diff) | |
| download | dotfiles-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).
Diffstat (limited to 'home')
| -rw-r--r-- | home/.config/zsh/.zshrc | 5 |
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) |
