fish: add env for zoxide

This commit is contained in:
inkch 2025-01-14 19:09:26 +09:00
parent c74f5ffd1f
commit 72c9da1463

View File

@ -159,6 +159,10 @@ if type -q hledger;
set -x LEDGER_FILE "$HOME/vc/accounting/hledger/main.journal" set -x LEDGER_FILE "$HOME/vc/accounting/hledger/main.journal"
end end
if type -q zoxide
set -x _ZO_FZF_OPTS "-1"
end
{{- if (and (eq .chezmoi.os "linux") (eq .hosttype "desktop" "laptop")) }} {{- if (and (eq .chezmoi.os "linux") (eq .hosttype "desktop" "laptop")) }}
if test -d "$XDG_DATA_HOME/flatpak/exports/bin" if test -d "$XDG_DATA_HOME/flatpak/exports/bin"
set -ax PATH "$XDG_DATA_HOME/flatpak/exports/bin" set -ax PATH "$XDG_DATA_HOME/flatpak/exports/bin"