TotalTerminal - Use Default Working Directory from Finder?


#1

Is it possible to use the CWD/Default Working Directory from Finder? I’m using DTerm which can do this but wanted to try something else as DTerm may be abandoned.

For example, open up Finder, navigate to your /Users/username/Downloads folder. Hit Ctrl+` then it will automatically “cd /Users/username/Downloads” (no quotes)

Thanks


#2

Found my answer here: http://hints.macworld.com/article.php?story=20110817133623734
Use “cdf;clear” (no quotes) as the startup run command. Add the alias below to your /Users/username/.bash_profile

cdf() { cd "`osascript -e 'tell app "Finder" to POSIX path of (insertion location as alias)'`"; ls; }