[Git-commits] [grml/grml-etc-core] da9a55: tmux.conf: Fix /etc/tmux.conf:19: unknown key: \\ ...
Michael Prokop
noreply at github.com
Wed May 27 11:12:15 CEST 2020
Branch: refs/heads/master
Home: https://github.com/grml/grml-etc-core
Commit: da9a55e697a408e9fe320f6a68454bbac35577cd
https://github.com/grml/grml-etc-core/commit/da9a55e697a408e9fe320f6a68454bbac35577cd
Author: Darshaka Pathirana <dpat at syn-net.org>
Date: 2020-05-26 (Tue, 26 May 2020)
Changed paths:
M etc/tmux.conf
Log Message:
-----------
tmux.conf: Fix /etc/tmux.conf:19: unknown key: \\ error message
The previous change (see: c2cbdb01) tried to fix the error
"unknown key: confirm-before".
Unfortunately that change only solved the problem for tmux v3.0+.
(Starting a new tmux session and reloading the configuration did not
bring up the error message in the older (<v3.0) tmux versions, so I
wrongly assumed that the change also worked for older versions.)
The changelog ("CHANGES FROM 2.9 to 3.0") states the following:
| INCOMPATIBLE: tmux's configuration parsing has changed to use yacc(1). There
| is one incompatible change: a \ on its own must be escaped or quoted as
| either \\ or '\' (the latter works on older tmux versions).
| Entirely the same parser is now used for parsing the configuration file
| and for string commands. This means that constructs previously only
| available in .tmux.conf, such as %if, can now be used in string commands
| (for example, those given to if-shell - not commands invoked from the
| shell, they are still parsed by the shell itself).
This change has been tested (I really hope so!) with the tmux versions
running Debian/jessie (docker), Debian/stretch (docker), Debian/buster
(host system) and Debian/bullseye (Grml daily ISO):
* Debian/jessie: v1.9
* Debian/stretch: v2.3
* Debian/buster: v2.8
* Debian/bullseye: v3.1
Closes (again): grml/grml-etc-core#93
Commit: e796c324571f240d458e149021c04524b0e5f0ab
https://github.com/grml/grml-etc-core/commit/e796c324571f240d458e149021c04524b0e5f0ab
Author: Michael Prokop <mika at grml.org>
Date: 2020-05-27 (Wed, 27 May 2020)
Changed paths:
M etc/tmux.conf
Log Message:
-----------
Merge remote-tracking branch 'origin/github/pr/98'
Compare: https://github.com/grml/grml-etc-core/compare/1d927f2f77c8...e796c324571f
More information about the Git-commits
mailing list