Apple changed the default shell to ZSH. So I would like to run Xcode in the Terminal. So here is the brief instruction for you.
Open
.zshrc
filevim ~/.zshrc
Add an alias at the bottom.
alias xcode="open -a Xcode"
Source
.zshrc
or relaunch the terminalsource ~/.zshrc
Run the command using the alias.
xcode example.xcworkspace
0 κ°μ λκΈ:
Post a Comment