improved error bypass logic in _apply_bindings(), fixes #330
This commit is contained in:
parent
57eeffcf0e
commit
4919400fe2
1 changed files with 2 additions and 2 deletions
|
@ -755,8 +755,8 @@ run -b '[ -z "#{window_active}" ] && [ -z "#{version}" ] && tmux set display-tim
|
||||||
# '{i = $2 == "-T" ? 4 : 5; gsub(/^[;]$/, "\\\\&", $i); gsub(/^[$"#~]$/, "'"'"'&'"'"'", $i); gsub(/^['"'"']$/, "\"&\"", $i); print}' > "$cfg.in"
|
# '{i = $2 == "-T" ? 4 : 5; gsub(/^[;]$/, "\\\\&", $i); gsub(/^[$"#~]$/, "'"'"'&'"'"'", $i); gsub(/^['"'"']$/, "\"&\"", $i); print}' > "$cfg.in"
|
||||||
#
|
#
|
||||||
# # ignore bindings with errors
|
# # ignore bindings with errors
|
||||||
# while ! out=$(tmux source-file "$cfg.in"); do
|
# while ! out=$(tmux source-file -v "$cfg.in"); do
|
||||||
# line=$(printf "%s" "$out" | cut -d':' -f2)
|
# line=$(printf "%s" "$out" | tail -1 | cut -d':' -f2)
|
||||||
# perl -n -i -e "if ($. != $line) { print }" "$cfg.in"
|
# perl -n -i -e "if ($. != $line) { print }" "$cfg.in"
|
||||||
# done
|
# done
|
||||||
# }
|
# }
|
||||||
|
|
Loading…
Reference in a new issue