Home

Awesome

zsh-npm

Version License

A zsh plugin for using n as npm aliases with noglob prefix and more.

AliasCommand
nnoglob npm
ninoglob npm install
nunoglob npm update
nrnoglob npm run
nenoglob npm exec
nbnoglob npm run build
ndnoglob npm run dev
ntnoglob npm run test
nsnoglob npm run start
nlnoglob npm run lint
nonoglob npm outdated
ncinoglob npm ci

Install

Manual

git clone --depth=1 https://github.com/zfben/zsh-npm.git ~/.zsh-npm
echo 'source ~/.zsh-npm/zsh-npm.plugin.zsh' >>~/.zshrc

Using oh-my-zsh

Execute git clone --depth=1 https://github.com/zfben/zsh-npm.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-npm. Add zsh-npm into plugins array in .zshrc