Fish: add local.fish
This commit is contained in:
		| @@ -5,18 +5,22 @@ end | |||||||
| set fish_greeting | set fish_greeting | ||||||
|   |   | ||||||
| # setup path | # setup path | ||||||
| fish_add_path $HOME/.local/bin | fish_add_path (path resolve $HOME/.local/bin) | ||||||
| fish_add_path $HOME/bin | fish_add_path (path resolve $HOME/bin) | ||||||
| fish_add_path /snap/bin | fish_add_path /snap/bin | ||||||
|  |  | ||||||
| if command -v composer &> /dev/null | if command -v composer &> /dev/null | ||||||
|     fish_add_path $HOME/.composer/vendor/bin |     fish_add_path (path resolve $HOME/.composer/vendor/bin) | ||||||
|     fish_add_path $(composer global config bin-dir --absolute --quiet) |     fish_add_path (composer global config bin-dir --absolute --quiet) | ||||||
| end | 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_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 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 | ||||||
		Reference in New Issue
	
	Block a user