Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month ago
JSON representation
ZSH completion script for node ace utility
- Host: GitHub
- URL: https://github.com/romch007/node-ace-zsh-completion
- Owner: romch007
- License: mit
- Created: 2021-02-03T17:54:32.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-15T17:46:57.000Z (over 2 years ago)
- Last Synced: 2024-08-03T18:16:11.136Z (5 months ago)
- Topics: adonis, adonisjs, nodejs, zsh, zsh-completion
- Homepage:
- Size: 21.5 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-adonisjs - Node ace ZSH completions - ZSH completions for the node ace commandline (Miscellaneous)
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 "$@"
}
```