Awesome
Nx completion plugin for Zsh
This plugin bring Nx autocompletion to Zsh.
Features
- Commands and arguments autocompletion
- Projects, targets, and generators autocompletion
- Support different workspace versions
Install
Prerequisit
Install jq
dependency:
apt install jq
On MacOS you can install with:
brew install jq
Note:
jq
is a lightweight command-line JSON processor used to manipulate the workspace graph.
As an Oh My ZSH! custom plugin
Clone the repository into the custom plugins directory:
git clone git@github.com:jscutlery/nx-completion.git ~/.oh-my-zsh/custom/plugins/nx-completion
Then load it as a plugin in your .zshrc
:
plugins+=(nx-completion)
Manually
Clone this repository somewhere (~/.nx-completion
for example):
git clone git@github.com:jscutlery/nx-completion.git ~/.nx-completion
Then source it in your .zshrc
:
source ~/.nx-completion/nx-completion.plugin.zsh
License
This project is MIT licensed.