1
0
Fork 0
mirror of synced 2024-12-12 18:35:47 -05:00

removed trailing 'set -x' / 'set +x' debug code

This commit is contained in:
Gregory Pakosz 2017-12-19 08:01:27 +01:00
parent 08f442bd0a
commit e1c968d020

View file

@ -648,9 +648,7 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
# else # else
# right=$(printf '%s' "$line" | cut -c"$column"- | awk -F'\"' 'BEGIN { OFS = FS } { for (i = 1; i <= NF; i+=2) { gsub(/#{.+}/, "\"&\"", $i) } print }' | sed -E -e 's/\\"/"/g' -e 's/run-shell "cut -c3- ~\/\.tmux\.conf \| sh -s _split_window #\{pane_tty\}([^;]+)"/split-window\1/g' -e 's/#\{.+\}/\"&\"/g') # right=$(printf '%s' "$line" | cut -c"$column"- | awk -F'\"' 'BEGIN { OFS = FS } { for (i = 1; i <= NF; i+=2) { gsub(/#{.+}/, "\"&\"", $i) } print }' | sed -E -e 's/\\"/"/g' -e 's/run-shell "cut -c3- ~\/\.tmux\.conf \| sh -s _split_window #\{pane_tty\}([^;]+)"/split-window\1/g' -e 's/#\{.+\}/\"&\"/g')
# fi # fi
# set -x
# eval "tmux $left $right" 2>/dev/null || true # eval "tmux $left $right" 2>/dev/null || true
# set +x
# done << EOF # done << EOF
# $(tmux list-keys 2>/dev/null | grep -e 'split\(-\|_\)window') # $(tmux list-keys 2>/dev/null | grep -e 'split\(-\|_\)window')
# EOF # EOF