Fish: add local.fish

This commit is contained in:
Tim 2025-05-19 18:15:44 +02:00
parent 7d436f1e85
commit 3059d26a60

View File

@ -5,18 +5,22 @@ end
set fish_greeting
# setup path
fish_add_path $HOME/.local/bin
fish_add_path $HOME/bin
fish_add_path (path resolve $HOME/.local/bin)
fish_add_path (path resolve $HOME/bin)
fish_add_path /snap/bin
if command -v composer &> /dev/null
fish_add_path $HOME/.composer/vendor/bin
fish_add_path $(composer global config bin-dir --absolute --quiet)
fish_add_path (path resolve $HOME/.composer/vendor/bin)
fish_add_path (composer global config bin-dir --absolute --quiet)
end
fish_add_path $HOME/.symfony/bin
fish_add_path (path resolve $HOME/.symfony/bin)
set fish_function_path (path resolve $__fish_config_dir/functions/*/) $fish_function_path
set fish_complete_path (path resolve $__fish_config_dir/completions/*/) $fish_complete_path
set -gx XDG_CONFIG_HOME $HOME/.config
set -gx XDG_CONFIG_HOME (path resolve $HOME/.config)
if test -f $HOME/local.fish
source $HOME/local.fish
end