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
575bb91b
Commit
575bb91b
authored
Dec 01, 2014
by
Emil Marashliev
Browse files
Added Xcode alias for deleting Derived Data.
parent
43aa3783
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/xcode/xcode.plugin.zsh
View file @
575bb91b
...
@@ -16,6 +16,7 @@ function xcsel {
...
@@ -16,6 +16,7 @@ function xcsel {
alias
xcb
=
'xcodebuild'
alias
xcb
=
'xcodebuild'
alias
xcp
=
'xcode-select --print-path'
alias
xcp
=
'xcode-select --print-path'
alias
xcdd
=
'rm -rf ~/Library/Developer/Xcode/DerivedData/*'
if
[[
-d
$(
xcode-select
-p
)
/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone
\
Simulator.app
]]
;
then
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'
alias
simulator
=
'open $(xcode-select -p)/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator.app'
...
...
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