mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 21:31:19 +08:00 
			
		
		
		
	kubectl: avoid conflict with existing f aliases in kca alias (#8625)
This commit is contained in:
		
							parent
							
								
									f17e0219fd
								
							
						
					
					
						commit
						4fc570b0d4
					
				@ -14,7 +14,7 @@ fi
 | 
			
		||||
alias k=kubectl
 | 
			
		||||
 | 
			
		||||
# Execute a kubectl command against all namespaces
 | 
			
		||||
alias kca='f(){ kubectl "$@" --all-namespaces;  unset -f f; }; f'
 | 
			
		||||
alias kca='_kca(){ kubectl "$@" --all-namespaces;  unset -f _kca; }; _kca'
 | 
			
		||||
 | 
			
		||||
# Apply a YML file
 | 
			
		||||
alias kaf='kubectl apply -f'
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user