From 2dcd950218dc4fb651af8d0bbf06ad1669f178bc Mon Sep 17 00:00:00 2001 From: Chris Martin Date: Tue, 5 Nov 2013 11:12:06 -0800 Subject: [PATCH] added function to swith path, renamed print --- custom/xcode.plugin.zsh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/custom/xcode.plugin.zsh b/custom/xcode.plugin.zsh index 5736c760b..c10d89d96 100644 --- a/custom/xcode.plugin.zsh +++ b/custom/xcode.plugin.zsh @@ -9,5 +9,9 @@ function xc { fi } +function xcsel { + sudo xcode-select --switch "$*" +} + alias xcb='xcodebuild' -alias xcs='xcode-select --print-path' +alias xcp='xcode-select --print-path'