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
38c01a23
Unverified
Commit
38c01a23
authored
Oct 28, 2023
by
Sarah Noor
Committed by
GitHub
Oct 28, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(npm): add alias for `npm run build` (#12012)
Closes #12010
parent
cb86d378
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 @
38c01a23
...
@@ -30,6 +30,7 @@ plugins=(... npm)
...
@@ -30,6 +30,7 @@ plugins=(... npm)
|
`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 |
|
`npmrd`
|
`npm run dev`
| Run npm run dev |
|
`npmrb`
|
`npm run build`
| Run npm run build |
## `npm install` / `npm uninstall` toggle
## `npm install` / `npm uninstall` toggle
...
...
plugins/npm/npm.plugin.zsh
View file @
38c01a23
...
@@ -73,6 +73,9 @@ alias npmSe="npm search"
...
@@ -73,6 +73,9 @@ alias npmSe="npm search"
# Run npm run dev
# Run npm run dev
alias
npmrd
=
"npm run dev"
alias
npmrd
=
"npm run dev"
# Run npm run build
alias
npmrb
=
"npm run build"
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