helm/zsh/functions/command_exists
2014-09-05 16:54:15 -04:00

3 lines
58 B
Plaintext

# Detect if a command exists
command -v "$1" &> /dev/null