Switches the check for stow to the idiomatic zsh command-exists syntax
This commit is contained in:
parent
eab82b9ebf
commit
6b89646829
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
echo 'Bootstrapping your dotfiles...' >&2
|
||||
mkdir -p $DOTFILES
|
||||
touch $DOTFILES/.stow
|
||||
if ! hash stow 2>/dev/null; then
|
||||
if (( ! $+commands[stow] )); then
|
||||
echo 'GNU Stow is not installed, fetching it...' >&2
|
||||
clone-one stow || return $?
|
||||
STOW=$DOTFILES/stow/local/bin/stow
|
||||
|
|
Loading…
Reference in a new issue