diff options
author | nicm <nicm> | 2019-05-27 12:16:27 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-05-27 12:16:27 +0000 |
commit | 6b332127cae97914d34c39575881fbc87205f4e0 (patch) | |
tree | e451d78a0ec378c4b58b3a401a88532c27a25ae0 /arguments.c | |
parent | 65e5e1456179d68f36602a5976184b38cc4b636c (diff) |
Add an additional {} syntax for defining strings in the configuration
file, making it much tidier to define commands that contain other tmux
or shell commands (like if-shell). Also tweak bind-key to expect a
string if it is only given one argument, so {} can be used with it as
well. From Avi Halachmi.
Diffstat (limited to 'arguments.c')
-rw-r--r-- | arguments.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arguments.c b/arguments.c index eebb79ff..68690deb 100644 --- a/arguments.c +++ b/arguments.c @@ -207,7 +207,7 @@ args_print(struct args *args) char * args_escape(const char *s) { - static const char quoted[] = " #\"';$"; + static const char quoted[] = " #\"';${}"; char *escaped, *result; int flags; |