mirror of
https://github.com/jimeh/tmuxifier.git
synced 2026-02-19 01:46:40 +00:00
Make better use of conditional operators and quote vars properly
This commit is contained in:
@@ -20,7 +20,7 @@ fi
|
||||
|
||||
! command_path="$(tmuxifier-resolve-command-path "$command")"
|
||||
|
||||
if [ ! -z "$command_path" ] && has-completions "$command_path"; then
|
||||
if [ -n "$command_path" ] && has-completions "$command_path"; then
|
||||
shift
|
||||
exec "$command_path" --complete "$@"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user