summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2015-09-07 12:09:08 +0200
committerMarc Cornellà <marc.cornella@live.com>2015-09-07 12:09:08 +0200
commit82ae41ca4cf4fac253294f17b33b0c718755ffc5 (patch)
tree228ebda8be8dd82e33303154bdf2966a4db361e0 /plugins
parent213f46a296bd76031eb6a2fa66c72efeb912481d (diff)
downloadzsh-82ae41ca4cf4fac253294f17b33b0c718755ffc5.tar.gz
zsh-82ae41ca4cf4fac253294f17b33b0c718755ffc5.tar.bz2
zsh-82ae41ca4cf4fac253294f17b33b0c718755ffc5.zip
Reorder xcode plugin file
Diffstat (limited to 'plugins')
-rw-r--r--plugins/xcode/xcode.plugin.zsh14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/xcode/xcode.plugin.zsh b/plugins/xcode/xcode.plugin.zsh
index b3058ceff..1f547470d 100644
--- a/plugins/xcode/xcode.plugin.zsh
+++ b/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