CLI tool that lets you jump into recently opened Xcode projects.
There are two step to install xcd command.
- Install a CLI tool
- Load function to your shell
To intall the CLI too, there are two ways, Swift Build or nest.
Clone this repository and build from source with swift build.
swift build -c releasePlace the resulting xcodecd binary on your PATH.
Install via the nest
nest install mtj0928/xcdAfter installing CLI tool, you need to add a line to your shell configuration.
- Fish: append
xcodecd init fish | sourceto~/.config/fish/config.fish, then restart the shell. - Bash: append
source <(xcodecd init bash)or an equivalent wrapper to~/.bashrc, then restart the shell.
Run xcd to pick a project and change directory.
xcd