From 6b332127cae97914d34c39575881fbc87205f4e0 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 27 May 2019 12:16:27 +0000 Subject: 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. --- arguments.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arguments.c') 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; -- cgit