diff --git a/plugin/vimux.vim b/plugin/vimux.vim index 99871f4..1f0163c 100644 --- a/plugin/vimux.vim +++ b/plugin/vimux.vim @@ -322,7 +322,7 @@ class TmuxSession end def _escape_command(command) - command.gsub('"', '\"').gsub('$', '\$') + command.gsub('"', '\"').gsub('$', '\$').sub(/;\z/, '\;') end def _run(command)