Skip to content

Commit

Permalink
cmd/aliases: Fix Z shell alias
Browse files Browse the repository at this point in the history
  • Loading branch information
indirect authored Feb 3, 2025
1 parent ca87421 commit 0fe67b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/aliases/zsh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ hugo() {
return 1
fi
else
if ! hugo_bin=$(which hugo); then
if ! hugo_bin=$(whence -p hugo); then
>&2 printf "Command not found.\\n"
return 1
fi
Expand Down

0 comments on commit 0fe67b3

Please sign in to comment.