I have the following line for my Sublime text build system:
"shell_cmd": "osascript -e 'tell application "Terminal" to do script "ssh [email protected] "'"
It works fine, but now I should add -t 'cd ..'
after ssh command. I wanted to escape '
characters with backslash ('
), but Sublime doesn’t accept it:
"shell_cmd": "osascript -e 'tell application "Terminal" to do script "ssh [email protected] 'cd ..'"'"
I tried to replace "
with '
and vice versa, but it also doesn’t work with Sublime.
What else can I try?