I'm trying to write an alias in my ~/.bashrc
of this form:
alias a="foo; osascript -e 'tell application "Terminal" to do script "bar"; baz"
(where bar
launches in a new Terminal window, as per this question) but this string doesn't look like it will parse. I tried string interpolation (${str}
), but the problem seems to be unsolvable that way.