From 15e24409009b88db9e13196777ba21fac4052633 Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Tue, 17 Nov 2015 11:18:19 +0300 Subject: [PATCH] Escape quotes in the restored `termcmd` variable --- rc/tmux.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/tmux.kak b/rc/tmux.kak index 6d243ff5..9de65754 100644 --- a/rc/tmux.kak +++ b/rc/tmux.kak @@ -40,7 +40,7 @@ def -hidden -shell-params tmux_override_termcmd %{ echo " set current termcmd '${cmd_override}' eval new $@ - set current termcmd '${termcmd}' + set current termcmd '${termcmd//'/\\'}' " fi }