Browse Source

Reorder xcode plugin file

Marc Cornellà 8 years ago
parent
commit
82ae41ca4c
1 changed files with 7 additions and 7 deletions
  1. 7 7
      plugins/xcode/xcode.plugin.zsh

+ 7 - 7
plugins/xcode/xcode.plugin.zsh

@@ -1,4 +1,10 @@
-#xc function courtesy of http://gist.github.com/subdigital/5420709
+alias xcb='xcodebuild'
+alias xcdd='rm -rf ~/Library/Developer/Xcode/DerivedData/*'
+alias xcp='xcode-select --print-path'
+alias xcsel='sudo xcode-select --switch'
+
+# original author: @subdigital
+# source: http://gist.github.com/subdigital/5420709
 function xc {
   local xcode_proj
   xcode_proj=(*.{xcworkspace,xcodeproj}(N))
@@ -12,12 +18,6 @@ function xc {
   fi
 }
 
-alias xcsel='sudo xcode-select --switch'
-alias xcb='xcodebuild'
-alias xcp='xcode-select --print-path'
-alias xcdd='rm -rf ~/Library/Developer/Xcode/DerivedData/*'
-
-
 # "XCode-SELect by Version" - select Xcode by just version number
 # Uses naming convention:
 #  - different versions of Xcode are named Xcode-<version>.app or stored