mirror of
https://github.com/jimeh/tmuxifier.git
synced 2026-02-19 09:56:39 +00:00
style(shell): improve shell script formatting and quoting
Apply shfmt formatting and fix some schellcheck complaints.
This commit is contained in:
@@ -20,11 +20,11 @@ if calling-complete "$@"; then
|
||||
fi
|
||||
|
||||
has-completions() {
|
||||
grep -i "^# Provide tmuxifier completions" "$1" >/dev/null
|
||||
grep -i "^# Provide tmuxifier completions" "$1" > /dev/null
|
||||
}
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "$(tmuxifier-help completions $@)" >&2
|
||||
tmuxifier-help completions "$@" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user