if node is unavailable, ignore copilot cli

This commit is contained in:
crater2150 2024-09-13 17:15:24 +02:00
parent cfa828ec19
commit cfe15e5e1b

View file

@ -1,3 +1,3 @@
if exists github-copilot-cli; then if exists /usr/bin/node && exists github-copilot-cli; then
eval "$(github-copilot-cli alias -- "$0")" eval "$(github-copilot-cli alias -- "$0")"
fi fi