mirror of
https://github.com/jimeh/tmuxifier.git
synced 2026-02-19 09:56:39 +00:00
chore: format files with shfmt and resolve most shellcheck complaints
This commit is contained in:
@@ -14,11 +14,11 @@ Outputs the absolute path to the given command or command alias."
|
||||
fi
|
||||
|
||||
if [ -n "$1" ]; then
|
||||
! command_path="$(command -v "tmuxifier-$1")"
|
||||
command_path="$(command -v "tmuxifier-$1")" || true
|
||||
if [ -z "$command_path" ]; then
|
||||
resolved="$(tmuxifier-alias "$1")"
|
||||
if [ -n "$resolved" ]; then
|
||||
! command_path="$(command -v "tmuxifier-$resolved")"
|
||||
command_path="$(command -v "tmuxifier-$resolved")" || true
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user