mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 13:21:19 +08:00 
			
		
		
		
	Update gitignore.plugin.zsh
Fix URL to gi (gitignore) function in _gitignireio_get_command_list function
This commit is contained in:
		
							parent
							
								
									861290e40b
								
							
						
					
					
						commit
						bd4f7e24ea
					
				@ -1,7 +1,7 @@
 | 
			
		||||
function gi() { curl http://www.gitignore.io/api/$@ ;}
 | 
			
		||||
 | 
			
		||||
_gitignireio_get_command_list() {
 | 
			
		||||
  curl -s http://gitignore.io/api/list | tr "," "\n"
 | 
			
		||||
  curl -s http://www.gitignore.io/api/list | tr "," "\n"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
_gitignireio () {
 | 
			
		||||
@ -9,4 +9,4 @@ _gitignireio () {
 | 
			
		||||
  compadd -S '' `_gitignireio_get_command_list`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
compdef _gitignireio gi
 | 
			
		||||
compdef _gitignireio gi
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user