Skip to content

Commit

Permalink
Fix has command
Browse files Browse the repository at this point in the history
  • Loading branch information
babarot committed Oct 20, 2015
1 parent a7cfdea commit 321c0fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emoji-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ available() {
candidates=${candidates#*:}

# check if x is available
if has "$x"; then
if (( $+commands[$x] )); then
echo "$x"
return 0
else
Expand Down

0 comments on commit 321c0fd

Please sign in to comment.