Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
bd264980
Commit
bd264980
authored
Oct 03, 2015
by
Robby Russell
Browse files
Merge pull request #4424 from Gutem/patch-1
Update Simulator's Path to XCode 7.x
parents
d7e7ef6f
1e305e01
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/xcode/xcode.plugin.zsh
View file @
bd264980
...
...
@@ -179,7 +179,10 @@ function simulator {
if
[[
-d
"
${
devfolder
}
/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app"
]]
;
then
open
"
${
devfolder
}
/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone Simulator.app"
# Xcode ≥ 6.x
el
se
el
if
[[
-d
"
${
devfolder
}
/Applications/iOS Simulator.app"
]]
;
then
open
"
${
devfolder
}
/Applications/iOS Simulator.app"
# Xcode ≥ 7.x
else
open
"
${
devfolder
}
/Applications/Simulator.app"
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