set -Ux XDG_CONFIG_HOME $HOME/.config 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/per-host/$hostname.sh source $XDG_CONFIG_HOME/sh/per-host/$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 if type -q eza alias ls=eza if not type -q tree alias tree="eza --tree" end end if type -q starship starship init fish | source end end