Paths
This commit is contained in:
parent
916ac3c7d0
commit
a8b20eb79c
2 changed files with 6 additions and 6 deletions
|
@ -13,14 +13,14 @@ set paths_candidates \
|
||||||
$HOME/.netlify/helper/bin
|
$HOME/.netlify/helper/bin
|
||||||
|
|
||||||
for d in $paths_candidates $ENV_PATH/*/bin
|
for d in $paths_candidates $ENV_PATH/*/bin
|
||||||
test -d $d && set -ga fish_user_paths $d
|
test -d $d && set -gxa fish_user_paths $d
|
||||||
end
|
end
|
||||||
|
|
||||||
test -d $HOME/.local/bin && set -ga fish_user_paths $HOME/.local/bin
|
test -d $HOME/.local/bin && set -gxa fish_user_paths $HOME/.local/bin
|
||||||
test -d $HOME/.bin && set -ga fish_user_paths $HOME/.local/bin
|
test -d $HOME/.bin && set -gxa fish_user_paths $HOME/.local/bin
|
||||||
|
|
||||||
has_command python && set -ga fish_user_paths (python -m site --user-base)/bin
|
has_command python && set -gxa fish_user_paths (python -m site --user-base)/bin
|
||||||
has_command ruby && set -ga fish_user_paths (ruby -e 'print Gem.user_dir')/bin
|
has_command ruby && set -gxa fish_user_paths (ruby -e 'print Gem.user_dir')/bin
|
||||||
|
|
||||||
if set -q NICE_HOME
|
if set -q NICE_HOME
|
||||||
else
|
else
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
set e $argv[1]
|
set e $argv[1]
|
||||||
set -ga fish_user_paths $e/bin
|
set -gxa fish_user_paths $e/bin
|
||||||
|
|
Reference in a new issue