Fix nodenv inside fish shell

This commit is contained in:
Yax 2023-04-30 20:48:43 +02:00
parent c37e9e7d88
commit 7e5dac44e9
2 changed files with 5 additions and 4 deletions

View file

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

View file

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