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:
@@ -1,11 +1,11 @@
|
||||
calling-help() {
|
||||
if [[ " $@ " != *" --help "* ]] && [[ " $@ " != *" -h "* ]]; then
|
||||
if [[ " $* " != *" --help "* ]] && [[ " $* " != *" -h "* ]]; then
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
calling-complete() {
|
||||
if [[ " $@ " != *" --complete "* ]]; then
|
||||
if [[ " $* " != *" --complete "* ]]; then
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user