chore: format files with shfmt and resolve most shellcheck complaints

This commit is contained in:
2024-02-18 02:03:37 +00:00
parent 6cd89beb5e
commit 631e09f428
28 changed files with 160 additions and 140 deletions

View File

@@ -26,14 +26,14 @@ if calling-complete "$@"; then
fi
if [ -z "$1" ]; then
echo "$(tmuxifier-help load-window $@)" >&2
tmuxifier-help load-window "$@" >&2
exit 1
fi
# Load runtime functions.
source "$TMUXIFIER/lib/runtime.sh"
if [ ! -z $TMUX ]; then
if [ -n "$TMUX" ]; then
session="$(tmuxifier-current-session)"
load_window "$1"
else