Escape quotes in the restored termcmd variable

This commit is contained in:
Frank LENORMAND 2015-11-17 11:18:19 +03:00
parent 284a40f681
commit 15e2440900

View File

@ -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
}