Skip to content

Commit d99e30c

Browse files
committed
Merge pull request #68 from anyakichi/master
Escape a semicolon at the end of input
2 parents 6dd26fe + b409314 commit d99e30c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/vimux.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ class TmuxSession
322322
end
323323

324324
def _escape_command(command)
325-
command.gsub('"', '\"').gsub('$', '\$')
325+
command.gsub('"', '\"').gsub('$', '\$').sub(/;\z/, '\;')
326326
end
327327

328328
def _run(command)

0 commit comments

Comments
 (0)