Fish: add local.fish
This commit is contained in:
parent
7d436f1e85
commit
3059d26a60
@ -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
|
Loading…
x
Reference in New Issue
Block a user