Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
91c7ed45
Unverified
Commit
91c7ed45
authored
Apr 20, 2023
by
Nathanial Spearing
Committed by
GitHub
Apr 20, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(npm): add `npmrd` alias (#11627)
parent
5b11e70a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
README.md
plugins/npm/README.md
+1
-0
npm.plugin.zsh
plugins/npm/npm.plugin.zsh
+3
-0
No files found.
plugins/npm/README.md
View file @
91c7ed45
...
@@ -29,6 +29,7 @@ plugins=(... npm)
...
@@ -29,6 +29,7 @@ plugins=(... npm)
|
`npmI`
|
`npm init`
| Run npm init |
|
`npmI`
|
`npm init`
| Run npm init |
|
`npmi`
|
`npm info`
| Run npm info |
|
`npmi`
|
`npm info`
| Run npm info |
|
`npmSe`
|
`npm search`
| Run npm search |
|
`npmSe`
|
`npm search`
| Run npm search |
|
`npmrd`
|
`npm run dev`
| Run npm run dev |
## `npm install` / `npm uninstall` toggle
## `npm install` / `npm uninstall` toggle
...
...
plugins/npm/npm.plugin.zsh
View file @
91c7ed45
...
@@ -70,6 +70,9 @@ alias npmi="npm info"
...
@@ -70,6 +70,9 @@ alias npmi="npm info"
# Run npm search
# Run npm search
alias
npmSe
=
"npm search"
alias
npmSe
=
"npm search"
# Run npm run dev
alias
npmrd
=
"npm run dev"
npm_toggle_install_uninstall
()
{
npm_toggle_install_uninstall
()
{
# Look up to the previous 2 history commands
# Look up to the previous 2 history commands
local
line
local
line
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment