82ae41ca4cf4fac253294f17b33b0c718755ffc5
- Author
- Marc Cornellà <marc.cornella@live.com>
- Committer
- Marc Cornellà <marc.cornella@live.com>
- Date
Message
Reorder xcode plugin file
Diff
1diff --git a/plugins/xcode/xcode.plugin.zsh b/plugins/xcode/xcode.plugin.zsh
2index b3058ceff37f2d5505fcb3e27bae7b5ef2e25de3..1f547470d5faa2a0a2639bc4044aca5c5731a3a6 100644
3--- a/plugins/xcode/xcode.plugin.zsh
4+++ b/plugins/xcode/xcode.plugin.zsh
5@@ -1,4 +1,10 @@
6-#xc function courtesy of http://gist.github.com/subdigital/5420709
7+alias xcb='xcodebuild'
8+alias xcdd='rm -rf ~/Library/Developer/Xcode/DerivedData/*'
9+alias xcp='xcode-select --print-path'
10+alias xcsel='sudo xcode-select --switch'
11+
12+# original author: @subdigital
13+# source: http://gist.github.com/subdigital/5420709
14 function xc {
15 local xcode_proj
16 xcode_proj=(*.{xcworkspace,xcodeproj}(N))
17@@ -12,12 +18,6 @@ function xc {
18 fi
19 }
20
21-alias xcsel='sudo xcode-select --switch'
22-alias xcb='xcodebuild'
23-alias xcp='xcode-select --print-path'
24-alias xcdd='rm -rf ~/Library/Developer/Xcode/DerivedData/*'
25-
26-
27 # "XCode-SELect by Version" - select Xcode by just version number
28 # Uses naming convention:
29 # - different versions of Xcode are named Xcode-<version>.app or stored