Update command checks to use a faster method

This commit is contained in:
Jonny Barnes 2024-07-06 12:18:09 +01:00
parent 6ce632755c
commit 83b6e927c6
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
7 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env zsh
# Setup Fast Node Manager
if type fnm > /dev/null; then
if (( ${+commands[fnm]} )); then
eval "$(fnm env --use-on-cd)"
fi