which-jspm
September 23, 2024 ยท View on GitHub
A zsh plugin to tell you which package manager the current package is using
This plugin adds npm, yarn, pnpm, or bun at the end of your zsh prompt based on which lockfile(s) are present in the current directory or parent.
oh-my-zsh Installation
Required
- Clone this repo into
~/.oh-my-zsh/custom/plugins - Add
which-jspmto your list of plugins in.zshrc(e.g.plugins=(git which-jspm))
Optional
- If you want
which-jspmto run immediately when you launch a new shell (instead of only when changing directories), includewhich-jspmon a new line near the bottom of.zshrc.