Skip to content

Commit

Permalink
fix(zsh): incorrect boolean expression
Browse files Browse the repository at this point in the history
  • Loading branch information
pheew committed Dec 14, 2022
1 parent 32ad6be commit e906aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function command_exists {
local cmd
cmd="${1}"

[ command -v "$cmd" >/dev/null 2>&1 ]
command -v "$cmd" >/dev/null 2>&1
}

function if_exists {
Expand Down

0 comments on commit e906aa9

Please sign in to comment.