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
Ohmyzsh
Commits
548b9c44
Commit
548b9c44
authored
Nov 06, 2014
by
Robby Russell
Browse files
Merge pull request #3224 from Neal/xcode-simulator-fix
Update path for the iOS simulator.
parents
ba6bf248
071de5fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/xcode/xcode.plugin.zsh
View file @
548b9c44
...
@@ -16,4 +16,9 @@ function xcsel {
...
@@ -16,4 +16,9 @@ function xcsel {
alias
xcb
=
'xcodebuild'
alias
xcb
=
'xcodebuild'
alias
xcp
=
'xcode-select --print-path'
alias
xcp
=
'xcode-select --print-path'
alias
simulator
=
'open $(xcode-select -p)/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app'
if
[[
-d
$(
xcode-select
-p
)
/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone
\
Simulator.app
]]
;
then
alias
simulator
=
'open $(xcode-select -p)/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app'
else
alias
simulator
=
'open $(xcode-select -p)/Applications/iOS\ 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