Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Automatically cd to active Finder directory in new Terminal window' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Automatically cd to active Finder directory in new Terminal window
Authored by: Frankus on Oct 07, '11 01:38:27AM
Good point!

I use the following when I don't want code to run if I'm logged in remotely (say, via ssh):

if [ "$TERM_PROGRAM" == "Apple_Terminal" ]; then
  ...
fi


[ Reply to This | # ]