mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-24 04:29:25 +02:00
Use value of xcode-select path instead of just using the finder default
This commit is contained in:
parent
bd6dbd1d9b
commit
fbf601eb6d
1 changed files with 2 additions and 1 deletions
|
|
@ -14,7 +14,8 @@ function xc {
|
|||
return 1
|
||||
else
|
||||
echo "Found ${xcode_proj[1]}"
|
||||
open "${xcode_proj[1]}"
|
||||
XCODEPATH=`xcode-select -p`
|
||||
open -a ${XCODEPATH%/*/*} "${xcode_proj[1]}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue