add fnm environment again to config.fish
This commit is contained in:
@@ -23,6 +23,7 @@ if status is-interactive
|
|||||||
|
|
||||||
# fnm
|
# fnm
|
||||||
if command -q fnm
|
if command -q fnm
|
||||||
|
fnm env --use-on-cd | source
|
||||||
fnm completions --shell fish | source
|
fnm completions --shell fish | source
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
5
.profile
5
.profile
@@ -30,11 +30,6 @@ export GOPATH="$HOME/.local/lib/go"
|
|||||||
|
|
||||||
add_path "$GOPATH/bin"
|
add_path "$GOPATH/bin"
|
||||||
|
|
||||||
# add fnm path and environment variables
|
|
||||||
if [[ -x "$(command -v fnm)" ]]; then
|
|
||||||
eval "$(fnm env --use-on-cd)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# add cargo/rust bin to path
|
# add cargo/rust bin to path
|
||||||
add_path "$HOME/.cargo/bin"
|
add_path "$HOME/.cargo/bin"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user