• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: side by side xcode, open scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: side by side xcode, open scripts


  • Subject: Re: side by side xcode, open scripts
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 16 Aug 2011 11:01:05 -0700

On Aug 16, 2011, at 10:44 AM, Lou Zell wrote:

> xcode3 open script:
> #!/bin/bash
> open /Xcode3/Applications/Xcode.app --args `cd $1; pwd`

It's easier just to do
	open -a /Xcode3/Applications/Xcode.app "$@"
which has the benefit that it works on source files as well as projects.

Or you can just put in your shell startup file
	alias xcode3 open -a /Xcode3/Applications/Xcode.app

—Jens_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >side by side xcode, open scripts (From: Lou Zell <email@hidden>)

  • Prev by Date: Re: Properly wrapping non-contiguous NSTextViews
  • Next by Date: Re: How can I prevent drag-and-drop initiation in an NSTextField
  • Previous by thread: side by side xcode, open scripts
  • Next by thread: Is it possible to traverse dictionaries and arrays using KVC?
  • Index(es):
    • Date
    • Thread