diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish index 296b418..3c5b715 100644 --- a/fish/.config/fish/config.fish +++ b/fish/.config/fish/config.fish @@ -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 \ No newline at end of file