1
0

add fnm environment again to config.fish

This commit is contained in:
2024-01-19 16:40:06 +01:00
parent 113fe76c48
commit 560e186f78
2 changed files with 1 additions and 5 deletions

View File

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

View File

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