For sanity's sake

This commit is contained in:
2012-04-25 00:25:45 +01:00
parent b0af14efa4
commit c23af83df2

View File

@@ -27,7 +27,7 @@ case "$command" in
command_path="$(command -v "tmuxifier-$command" || true)"
# Attempt to resolve aliases
if [ -z $command_path ]; then
if [ -z "$command_path" ]; then
resolved="$(tmuxifier-alias "$command")"
if [ ! -z "$resolved" ]; then
command_path="$(command -v "tmuxifier-$resolved" || true)"