Updated fnm init script

This commit is contained in:
GaspardCulis 2023-11-03 09:42:11 +01:00
parent 5dc9296822
commit 6ccfb0f295

View file

@ -30,9 +30,8 @@ export HISTSIZE=
# fnm
FNM_PATH="$HOME/.local/share/fnm"
if [ -f "$FNM_PATH" ]; then
export PATH="$FNM_PATH:$PATH"
eval "`fnm env`"
if test -d "$FNM_PATH" ; then
eval "$(fnm env --use-on-cd)"
fi
. "$HOME/.cargo/env"