Fix zshrc without fnm

This commit is contained in:
Tim 2023-06-05 15:25:58 +02:00
parent 9dc4e76744
commit d164a202dd

View File

@ -167,5 +167,8 @@ export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
# fnm
export PATH="/home/tim/.local/share/fnm:$PATH"
eval "`fnm env`"
if command -v fnm &> /dev/null
then
export PATH="/home/tim/.local/share/fnm:$PATH"
eval "`fnm env`"
fi