This plugin bring Nx autocompletion to Zsh.
- Commands and arguments autocompletion
- Projects, targets, and generators autocompletion
- Support different workspace versions
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)
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
This project is MIT licensed.