I'm trying to make (1) special key open new terminal window.
I bound it to file
/Users/taw/bin/new_term, which contains:
#!/bin/sh exec osascript -e 'tell application "Terminal" to do script "cd ."'
This does the trick, except it also opens a Terminal window with this (even though Terminal.app is configured to always close windows when processes finish):
Last login: Thu Mar 11 19:41:29 on ttys000 /Users/taw/bin/new_term ; exit; ~$ /Users/taw/bin/new_term ; exit; tab 1 logout [Process completed]
How do I make it all work correctly? (possibly using a way different that what I've been attempting so far)