mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 23:30:08 +00:00
Add xcselv documentation in the README
This commit is contained in:
parent
5584aa05c7
commit
213f46a296
1 changed files with 10 additions and 6 deletions
|
@ -14,11 +14,12 @@ plugins=(... xcode)
|
||||||
## Aliases
|
## Aliases
|
||||||
|
|
||||||
| Alias | Description | Command |
|
| Alias | Description | Command |
|
||||||
|-------|---------------------------------------|------------------------------------------------|
|
|-------|------------------------------------------|------------------------------------------------|
|
||||||
| xcsel | Change active developer directory | sudo xcode-select --switch |
|
|
||||||
| xcp | Show currently active dev. directory | xcode-select --print-path |
|
|
||||||
| xcb | Build Xcode projects and workspaces | xcodebuild |
|
| xcb | Build Xcode projects and workspaces | xcodebuild |
|
||||||
| xcdd | Purge all temporary build information | rm -rf ~/Library/Developer/Xcode/DerivedData/* |
|
| xcdd | Purge all temporary build information | rm -rf ~/Library/Developer/Xcode/DerivedData/* |
|
||||||
|
| xcp | Show currently selected Xcode directory | xcode-select --print-path |
|
||||||
|
| xcsel | Select different Xcode directory by path | sudo xcode-select --switch |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Functions
|
## Functions
|
||||||
|
@ -29,3 +30,6 @@ plugins=(... xcode)
|
||||||
|
|
||||||
- **`simulator`**:
|
- **`simulator`**:
|
||||||
Open the iOS Simulator from your command line, dependant on whichever is the active developer directory for Xcode.
|
Open the iOS Simulator from your command line, dependant on whichever is the active developer directory for Xcode.
|
||||||
|
|
||||||
|
- **`xcselv`**:
|
||||||
|
Select different Xcode by version. Example: `xcselv 6.2`
|
||||||
|
|
Loading…
Reference in a new issue