1
0

set path/environment for fnm in .profile

This commit is contained in:
2024-01-19 16:02:13 +01:00
parent 9af79370c0
commit 113fe76c48
2 changed files with 5 additions and 4 deletions

View File

@@ -23,7 +23,6 @@ if status is-interactive
# fnm
if command -q fnm
fnm env --use-on-cd | source
fnm completions --shell fish | source
end

View File

@@ -30,8 +30,10 @@ export GOPATH="$HOME/.local/lib/go"
add_path "$GOPATH/bin"
# add nvm bin to path
add_path "$HOME/.nvm/current/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_path "$HOME/.cargo/bin"
@@ -61,4 +63,4 @@ export PGHOST=localhost
export PGUSER=knmav
# Opt out from .NET CLI Tools telemetry
DOTNET_CLI_TELEMETRY_OPTOUT=1
DOTNET_CLI_TELEMETRY_OPTOUT=1