only use fnm is is installed

This commit is contained in:
cupcakearmy 2023-03-09 02:43:49 +01:00
parent cee1be33d1
commit 5f6315000a
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F
1 changed files with 3 additions and 1 deletions

View File

@ -25,7 +25,9 @@ set -gx PATH "$PNPM_HOME" $PATH
# pnpm end
# Node
fnm env --use-on-cd | source
if type -q brew
fnm env --use-on-cd | source
end
# Theme
oh-my-posh init fish --config ~/.config/omp/main.omp.yaml | source