mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 21:31:19 +08:00 
			
		
		
		
	
							parent
							
								
									cb86d378f2
								
							
						
					
					
						commit
						38c01a235f
					
				@ -30,6 +30,7 @@ plugins=(... npm)
 | 
			
		||||
| `npmi`  | `npm info`                   | Run npm info                                                    |
 | 
			
		||||
| `npmSe` | `npm search`                 | Run npm search                                                  |
 | 
			
		||||
| `npmrd` | `npm run dev`                | Run npm run dev                                                 |
 | 
			
		||||
| `npmrb` | `npm run build`              | Run npm run build                                               |
 | 
			
		||||
 | 
			
		||||
## `npm install` / `npm uninstall` toggle
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -73,6 +73,9 @@ alias npmSe="npm search"
 | 
			
		||||
# Run npm run dev
 | 
			
		||||
alias npmrd="npm run dev"
 | 
			
		||||
 | 
			
		||||
# Run npm run build
 | 
			
		||||
alias npmrb="npm run build"
 | 
			
		||||
 | 
			
		||||
npm_toggle_install_uninstall() {
 | 
			
		||||
  # Look up to the previous 2 history commands
 | 
			
		||||
  local line
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user