Add command_exists function

This commit is contained in:
Henrik Lissner 2013-03-16 13:32:16 -04:00
parent 4b8319c7da
commit 1cfb22ac59

5
zsh/functions Normal file
View file

@ -0,0 +1,5 @@
#!/bin/bash
function command_exists() {
command -v "$1" &> /dev/null;
}