Skip to content

Instantly share code, notes, and snippets.

@tokorom
Created March 19, 2014 12:04
Show Gist options
  • Save tokorom/9640290 to your computer and use it in GitHub Desktop.
Save tokorom/9640290 to your computer and use it in GitHub Desktop.
if [ -e *.xcworkspace ]; then
find *.xcworkspace | head -1 | xargs open
elif [ -e *.xcodeproj ]; then
find *.xcodeproj | head -1 | xargs open
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment