Opening Xcode projects and workspaces

Tue, 17. Jun 2014

Categories: en development Tags: bash XCode

Inspired by ortas post about it I came up with this one-liner:

alias openx='open *.xcworkspace 2>/dev/null || open *.xcodeproj 2>/dev/null || echo "nagnagnag"'