fix fnm env
This commit is contained in:
@@ -40,14 +40,14 @@ fi
|
|||||||
|
|
||||||
# Paths
|
# Paths
|
||||||
[ -f "$HOME/.cargo/env" ] && source "$HOME/.cargo/env"
|
[ -f "$HOME/.cargo/env" ] && source "$HOME/.cargo/env"
|
||||||
[ -d "$HOME/go/bin" ] && prepend_path "$HOME/go/bin"
|
prepend_path "$HOME/go/bin"
|
||||||
[ -d "$HOME/.local/bin" ] && prepend_path "$HOME/.local/bin"
|
prepend_path "$HOME/.local/bin"
|
||||||
[ -d "$HOME/.local/scripts" ] && prepend_path "$HOME/.local/scripts"
|
prepend_path "$HOME/.local/scripts"
|
||||||
|
prepend_path "$HOME/.local/share/fnm"
|
||||||
export PATH
|
export PATH
|
||||||
|
|
||||||
# fnm
|
# fnm
|
||||||
if type fnm &>/dev/null; then
|
if type fnm &>/dev/null; then
|
||||||
prepend_path "$HOME/.local/share/fnm"
|
|
||||||
eval $(fnm env --shell bash)
|
eval $(fnm env --shell bash)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ fish_add_path $HOME/go/bin
|
|||||||
fish_add_path $HOME/.cargo/bin
|
fish_add_path $HOME/.cargo/bin
|
||||||
fish_add_path $HOME/.local/scripts
|
fish_add_path $HOME/.local/scripts
|
||||||
fish_add_path $HOME/.local/bin
|
fish_add_path $HOME/.local/bin
|
||||||
|
fish_add_path $HOME/.local/share/fnm
|
||||||
|
|
||||||
# man
|
# man
|
||||||
if type -q bat
|
if type -q bat
|
||||||
@@ -29,6 +30,5 @@ set -x -g GPG_TTY (tty)
|
|||||||
|
|
||||||
# fnm
|
# fnm
|
||||||
if type -q fnm
|
if type -q fnm
|
||||||
fish_add_path $HOME/.local/share/fnm
|
|
||||||
eval (fnm env --shell fish)
|
eval (fnm env --shell fish)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user