mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-10 04:26:17 +02:00
Added list alias for npm plugin
Added the alias npmL for listing installed packages at root level (not showing sub-dependencies). It also works with the global -g option.
This commit is contained in:
parent
686e460258
commit
16c2f3fe50
1 changed files with 3 additions and 0 deletions
|
|
@ -17,3 +17,6 @@ alias npmD="npm i -D "
|
|||
# Execute command from node_modules folder based on current directory
|
||||
# i.e npmE gulp
|
||||
alias npmE='PATH="$(npm bin)":"$PATH"'
|
||||
|
||||
# List all packages installed at root level
|
||||
alias npmL='npm ls --depth=0'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue