mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-26 11:14:08 +00:00
fix(scripts): have now uses which -s
This commit is contained in:
@@ -113,7 +113,7 @@ function have_command
|
||||
# usage: have php && php -v
|
||||
function have
|
||||
{
|
||||
bkt -- command -v "$1" >&/dev/null
|
||||
bkt -- which -s "$1" >&/dev/null
|
||||
}
|
||||
|
||||
function brew_installed
|
||||
|
||||
Reference in New Issue
Block a user