Add this to your .aliases
with:
function spawn { osascript ~/Dropbox/Code/Applescript/Spawn/SpawniTerm.applescript $PWD }
Changing the ~/Dropbox/Code/Applescript/Spawn/SpawniTerm.applescript
appropriately. Then run spawn
from the command line.
Created with help from:
http://stackoverflow.com/questions/4438147/alias-with-variable-in-bash
http://hints.macworld.com/article.php?story=20050523140439734
http://superuser.com/questions/283418/how-can-i-make-terminal-vim-my-default-editor-application-in-mac-os-x/283422#283422
https://gist.github.com/1769355