Skip to content

Commit

Permalink
Use xed, to make sure to open in the correct/active Xcode version
Browse files Browse the repository at this point in the history
  • Loading branch information
fbartho committed Oct 30, 2018
1 parent 20917c7 commit 682903a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .aliases.bash
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ openx() {
if [ -n "$fileToOpen" ]
then
echo $fileToOpen
open $fileToOpen
xed $fileToOpen
else
find . -maxdepth 1 -name *.xcodeproj -print0 | while IFS= read -r -d '' file; do
fileToOpen=$file
Expand All @@ -40,7 +40,7 @@ openx() {
if [ -n "$fileToOpen" ]
then
echo $fileToOpen
open $fileToOpen
xed $fileToOpen
else
echo "No xcode files to open."
fi
Expand Down

0 comments on commit 682903a

Please sign in to comment.