https://github.com/ajnasz/zsh-npm-completion
Completion definitions for npm on zsh
https://github.com/ajnasz/zsh-npm-completion
zsh-completions zsh-plugin zsh-plugins
Last synced: 4 months ago
JSON representation
Completion definitions for npm on zsh
- Host: GitHub
- URL: https://github.com/ajnasz/zsh-npm-completion
- Owner: Ajnasz
- License: mit
- Created: 2021-08-26T16:37:17.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-07-22T08:30:33.000Z (about 1 year ago)
- Last Synced: 2025-06-14T22:08:51.374Z (4 months ago)
- Topics: zsh-completions, zsh-plugin, zsh-plugins
- Homepage:
- Size: 20.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ZSH completion for npm
Clone the repository
```sh
git clone git@github.com:Ajnasz/zsh-npm-completion.git /path/to/somewhere/zsh-npm-completion
```Add it to `fpath` in you `.zshrc` so it will be loaded when needed
```zsh
fpath=(/path/to/somewhere/zsh-npm-completion $fpath)
```## oh-my-zsh
If you use oh-my-zsh you must disable the npm plugin as it conflicts with the completion functions of this plugin.