npm insall -g @yuyin/nrun
nrun
git clone -b zsh https://github.com/yuyinws/nrun ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-nrun
# .zshrc
plugins=(
...
zsh-nrun
)
在安装 zsh 插件后,当你输入 npm run,pnpm,yarn 等命令并且再按 2 次空格键,即可触发nrun
欢迎大家使用并反馈意见
1
iamm 2023-11-21 20:54:53 +08:00
我直接用 ni [github]( https://github.com/antfu/ni#nr---run)
|