From 788856ff716659eeb0f230320689aeb0f82fb961 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Fri, 17 Apr 2026 10:53:32 +0100 Subject: feat: add zoxide for smart directory jumping MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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). --- home/.config/zsh/.zshrc | 5 +++++ 1 file changed, 5 insertions(+) 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) -- cgit v1.2.3-70-g09d2