diff --git a/.markdownlint.yaml b/.markdownlint.yaml new file mode 100644 index 0000000..7ef9a6a --- /dev/null +++ b/.markdownlint.yaml @@ -0,0 +1,7 @@ +--- + +MD013: false + +MD033: + # Allowed elements + allowed_elements: [br] diff --git a/README.md b/README.md index 1303eb3..71fe861 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ pane. - Had forgotten to abort if attempt to zoom only pane - fixed - Removed a previous config variable `power_zoom_mouse` -- Recent changes resulted in compatiblity with tmux 2.0 +- Recent changes resulted in compatibility with tmux 2.0 - Repeated zooms of the same pane now works as expected - Made to work when shell is fish, what an odd beast that is... - Fixed some issues that prevented this to run on older versions of tmux. diff --git a/power-zoom.tmux b/power-zoom.tmux index 0618195..80ffa8e 100755 --- a/power-zoom.tmux +++ b/power-zoom.tmux @@ -46,7 +46,7 @@ if [[ -n "$mouse_action" ]]; then # shellcheck disable=SC2089 mouse_cmd="select-pane -t= \; run-shell -t= \"$SCRIPTS_DIR/power_zoom.sh\"" - # shellcheck disable=SC2086,2090 #options & mouse_cmd cant be quoted + # shellcheck disable=SC2086,2090 #options & mouse_cmd can't be quoted $TMUX_BIN bind $options -n "$mouse_action" $mouse_cmd log_it "Mouse action: $mouse_action" fi @@ -68,5 +68,5 @@ fi # $TMUX_BIN set-option @power_zoom_state "" -# shellcheck disable=SC2086 #options cant be quoted +# shellcheck disable=SC2086 #options can't be quoted $TMUX_BIN bind-key "$@" "$trigger_key" run-shell "$SCRIPTS_DIR"/power_zoom.sh diff --git a/scripts/power_zoom.sh b/scripts/power_zoom.sh index 5583854..1e15d32 100755 --- a/scripts/power_zoom.sh +++ b/scripts/power_zoom.sh @@ -73,7 +73,7 @@ check_pz_status() { fi elif [[ $placeholder = "$this_id" ]] && [[ $1 = "$GET_ZOOMED" ]]; then result=$zoomed - # wont be doing updates this run, this will just trigger recursion + # won't be doing updates this run, this will just trigger recursion # by the caller, when unzooming and list update will happen, # so no need to complete the loop break