This commit is contained in:
Daniel Flanagan 2021-05-14 15:20:44 -05:00
parent 916ac3c7d0
commit a8b20eb79c
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
2 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -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