Open Terminal with Xcode environment?
Open Terminal with Xcode environment?
- Subject: Open Terminal with Xcode environment?
- From: joseph davison <email@hidden>
- Date: Thu, 21 Jan 2010 11:40:27 -0500
For now, in Xcode 3.2.1 on Snow Leopard, I'm using a different subversion repository than I usually do when working in Terminal. Fundamentally, I'd like to have bash/zsh access in the environment seen by Xcode while working on my project so I can use subversion command line commands. I didn't see anything I recognized as doing this in the menus, etc, so I suppose I need to create a user script that opens a new Terminal window with the project directory as working directory, and with at least the shell variable SVNROOT set to the subversion repository.
At this point, I have a script that opens a new Terminal window, but it's not clear that I have access to the other information. I figure I might be able to use dirname(1) on %%%{PBXFilePath}%%% to set the directory, if there's no better option.
Have I missed the obvious way to get shell access, or is there a better way than the road I'm trying? Or, is what I want to do just a result old habits from 30 years of CLI work, and I should be thinking different?
joe
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden