Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
6ca57e03
Commit
6ca57e03
authored
Jul 19, 2018
by
Thi
Committed by
Marc Cornellà
Jul 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[plugins/xcode] Fix opening project using a wrong Xcode version (#6829)
parent
626b30b2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
xcode.plugin.zsh
plugins/xcode/xcode.plugin.zsh
+5
-2
No files found.
plugins/xcode/xcode.plugin.zsh
View file @
6ca57e03
...
...
@@ -22,8 +22,11 @@ function xc {
fi
return
1
else
echo
"Found
${
xcode_proj
[1]
}
"
open
"
${
xcode_proj
[1]
}
"
local
active_path
active_path
=
$(
xcode-select
-p
)
active_path
=
${
active_path
%%/Contents/Developer*
}
echo
"Found
${
xcode_proj
[1]
}
. Opening with
${
active_path
}
"
open
-a
"
$active_path
"
"
${
xcode_proj
[1]
}
"
fi
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment