Wrap fnm setup in check tha fnm is installed

This commit is contained in:
Jonny Barnes 2024-01-23 19:34:31 +00:00
parent e5fe2523bf
commit ff0425eed7
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8

View file

@ -145,7 +145,9 @@ test -e /opt/homebrew/share/zsh-you-should-use/you-should-use.plugin.zsh && sour
test -e /usr/share/zsh/plugins/zsh-you-should-use/you-should-use.plugin.zsh && source /usr/share/zsh/plugins/zsh-you-should-use/you-should-use.plugin.zsh test -e /usr/share/zsh/plugins/zsh-you-should-use/you-should-use.plugin.zsh && source /usr/share/zsh/plugins/zsh-you-should-use/you-should-use.plugin.zsh
# Setup Fast Node Manager # Setup Fast Node Manager
if type fnm > /dev/null; then
eval "$(fnm env --use-on-cd)" eval "$(fnm env --use-on-cd)"
fi
# Setup GitHub Copilot # Setup GitHub Copilot
if type github-copilot-cli > /dev/null; then if type github-copilot-cli > /dev/null; then