Interactive npm sciprts completion.
npm insall -g @yuyin/nrun
nrun
Note Make sure you have globally installed
@yuyin/nrun.
git clone -b zsh https://github.com/yuyinws/nrun ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-nrun
# .zshrc
plugins=(
...
zsh-nrun
)Now, when you enter npm run and press the space key twice, it will work.
It also detects commands such as yarn, pnpm, and nr...
