mirror of
https://github.com/jaclu/tmux-power-zoom.git
synced 2026-09-10 07:06:18 -04:00
linting
This commit is contained in:
parent
282f4145f6
commit
3a1de2280e
|
|
@ -15,7 +15,7 @@ CURRENT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
|||
|
||||
SCRIPTS_DIR="$CURRENT_DIR/scripts"
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# shellcheck source=/dev/null
|
||||
. "$SCRIPTS_DIR/utils.sh"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
# shellcheck disable=SC1007
|
||||
CURRENT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
# shellcheck source=/dev/null
|
||||
. "$CURRENT_DIR/utils.sh"
|
||||
|
||||
IS_ZOOMED="is_zoomed"
|
||||
|
|
@ -67,7 +67,7 @@ check_pz_status() {
|
|||
elif [[ $1 = "$GET_PLACEHOLDER" ]]; then
|
||||
result=$placeholder
|
||||
do_update=true
|
||||
# this will result in unzooming, so dont save current pair
|
||||
# this will result in unzooming, so don't save current pair
|
||||
# in the update
|
||||
continue
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ default_key="Z"
|
|||
# If $log_file is empty or undefined, no logging will occur.
|
||||
#
|
||||
log_it() {
|
||||
# shellcheck disable=SC2154
|
||||
if [[ -z "$log_file" ]]; then
|
||||
return
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue