Make direnv conditional — only load if installed
This commit is contained in:
parent
2e0f5c9669
commit
3452e2556e
@ -10,7 +10,9 @@ if status is-interactive
|
||||
zoxide init fish | source
|
||||
|
||||
# ── direnv ──────────────────────────────────────────────
|
||||
if type -q direnv
|
||||
direnv hook fish | source
|
||||
end
|
||||
|
||||
# ── fzf ─────────────────────────────────────────────────
|
||||
# fzf.fish plugin handles Ctrl+R (history) and Ctrl+F (files)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user