Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/romch007/node-ace-zsh-completion

ZSH completion script for node ace utility
https://github.com/romch007/node-ace-zsh-completion

adonis adonisjs nodejs zsh zsh-completion

Last synced: 3 months ago
JSON representation

ZSH completion script for node ace utility

Awesome Lists containing this project

README

        

# node ace zsh completion

This completion script supports custom commands and flags by reading the `ace-manifest.json` file with jq. In order to use this script, you must install the `jq` utility (See [this](https://stedolan.github.io/jq/download/)).

To install it, you need to download the file `_node_ace` and put it in folder covered by your `fpath`.

Since I failed to apply the script to the `node ace` command, this script applies to the command `na`.

Unfortunately, aliases like `alias na="node ace"` breaks the completion, so I added a little function in my `.zshrc` :

```sh
na() {
node ace "$@"
}
```