Fix nodenv inside fish shell

main
Yax 2 years ago
parent c37e9e7d88
commit 7e5dac44e9

@ -53,10 +53,10 @@ if test -e "{{ .extra_ca_cert }}"
set -x NODE_EXTRA_CA_CERTS {{ .extra_ca_cert }} set -x NODE_EXTRA_CA_CERTS {{ .extra_ca_cert }}
set -x NODE_BUILD_CURL_OPTS --insecure set -x NODE_BUILD_CURL_OPTS --insecure
end end
if test -d "$HOME/.nodenv" #if test -d "$HOME/.nodenv"
#set -Ux fish_user_paths $HOME/.nodenv/bin $fish_user_paths # #set -Ux fish_user_paths $HOME/.nodenv/bin $fish_user_paths
fish_add_path "$HOME/.nodenv/bin" # fish_add_path "$HOME/.nodenv/bin"
end #end
# python # python
if test -e "{{ .extra_ca_cert }}" if test -e "{{ .extra_ca_cert }}"

@ -4,3 +4,4 @@ gazorby/fish-abbreviation-tips
oh-my-fish/plugin-foreign-env oh-my-fish/plugin-foreign-env
reitzig/sdkman-for-fish@v1.4.0 reitzig/sdkman-for-fish@v1.4.0
oh-my-fish/plugin-pyenv oh-my-fish/plugin-pyenv
cafedomancer/fish-nodenv

Loading…
Cancel
Save