add fish config

This commit is contained in:
Romain Paquet 2026-03-18 14:17:49 +01:00
parent cfa4947892
commit 3c55cbf688

View file

@ -0,0 +1,23 @@
if status is-interactive
# Commands to run in interactive sessions can go here
source $XDG_CONFIG_HOME/sh/aliases.sh
source $XDG_CONFIG_HOME/sh/path.sh
# Per-host config
if test -r $XDG_CONFIG_HOME/sh/$HOSTNAME.sh
source $XDG_CONFIG_HOME/sh/$HOSTNAME.sh
end
if type -q atuin
atuin init fish | source
end
if type -q zoxide
zoxide init fish | source
alias cd=z
end
if type -q direnv
direnv hook fish | source
end
end