This commit is contained in:
Jacob Lundqvist 2024-12-21 00:42:17 +01:00
parent 282f4145f6
commit 3a1de2280e
3 changed files with 4 additions and 3 deletions

View file

@ -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"

View file

@ -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

View file

@ -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