diff --git a/zsh/func/binary_exists b/zsh/func/binary_exists index f11d16e..21166db 100644 --- a/zsh/func/binary_exists +++ b/zsh/func/binary_exists @@ -1,10 +1,4 @@ -# .zshrc -# vim:ft=zsh: +# Check if ZSH thinks the binary exists # Eryn Wells -function binary_exists -{ - return $(hash $1 1>/dev/null 2>&1) -} - -binary_exists "$@" +hash $1 1>/dev/null 2>&1