mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
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.
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user