mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 15:20:08 +00:00
Add README for the xcode plugin
This commit is contained in:
parent
ec3694c788
commit
d95589d4e4
1 changed files with 31 additions and 0 deletions
31
plugins/xcode/README.md
Normal file
31
plugins/xcode/README.md
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Xcode
|
||||
|
||||
## Description
|
||||
|
||||
This plugin provides a few utilities that can help you on your daily use of Xcode and iOS development.
|
||||
|
||||
To start using it, add the `xcode` plugin to your `plugins` array:
|
||||
|
||||
```zsh
|
||||
plugins=(... xcode)
|
||||
```
|
||||
|
||||
|
||||
## Aliases
|
||||
|
||||
| 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 |
|
||||
| xcdd | Purge all temporary build information | rm -rf ~/Library/Developer/Xcode/DerivedData/* |
|
||||
|
||||
|
||||
## Functions
|
||||
|
||||
- **`xc`**:
|
||||
Open one of the `.xcworkspace` and `.xcodeproj` files that it can find in the current working directory.
|
||||
Returns 1 if it didn't find any relevant files.
|
||||
|
||||
- **`simulator`**:
|
||||
Open the iOS Simulator from your command line, dependant on whichever is the active developer directory for Xcode.
|
Loading…
Reference in a new issue