set path/environment for fnm in .profile
This commit is contained in:
@@ -23,7 +23,6 @@ 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
|
||||||
|
|
||||||
|
|||||||
8
.profile
8
.profile
@@ -30,8 +30,10 @@ export GOPATH="$HOME/.local/lib/go"
|
|||||||
|
|
||||||
add_path "$GOPATH/bin"
|
add_path "$GOPATH/bin"
|
||||||
|
|
||||||
# add nvm bin to path
|
# add fnm path and environment variables
|
||||||
add_path "$HOME/.nvm/current/bin"
|
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"
|
||||||
@@ -61,4 +63,4 @@ export PGHOST=localhost
|
|||||||
export PGUSER=knmav
|
export PGUSER=knmav
|
||||||
|
|
||||||
# Opt out from .NET CLI Tools telemetry
|
# Opt out from .NET CLI Tools telemetry
|
||||||
DOTNET_CLI_TELEMETRY_OPTOUT=1
|
DOTNET_CLI_TELEMETRY_OPTOUT=1
|
||||||
|
|||||||
Reference in New Issue
Block a user