fix 0 arguments error

This commit is contained in:
lelgenio 2020-11-15 09:38:03 -03:00
parent 4ec086b57d
commit c3acd8f092
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,8 @@
#!/bin/sh
cmd="$1"
shift
test $# -gt 0 &&
cmd="$1" &&
shift
# {%@@ if terminal == "alacritty" @@%} #
command -v alacritty > /dev/null &&