mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-26 21:51:05 +01:00
Reorder xcode plugin file
This commit is contained in:
parent
213f46a296
commit
82ae41ca4c
1 changed files with 7 additions and 7 deletions
|
@ -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 {
|
function xc {
|
||||||
local xcode_proj
|
local xcode_proj
|
||||||
xcode_proj=(*.{xcworkspace,xcodeproj}(N))
|
xcode_proj=(*.{xcworkspace,xcodeproj}(N))
|
||||||
|
@ -12,12 +18,6 @@ function xc {
|
||||||
fi
|
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
|
# "XCode-SELect by Version" - select Xcode by just version number
|
||||||
# Uses naming convention:
|
# Uses naming convention:
|
||||||
# - different versions of Xcode are named Xcode-<version>.app or stored
|
# - different versions of Xcode are named Xcode-<version>.app or stored
|
||||||
|
|
Loading…
Reference in a new issue