mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2025-11-04 13:21:19 +08:00 
			
		
		
		
	Fix homebrew directory in aws plugin.
Sometimes the output of ``homebrew --prefix`` and ``homebrew --prefix awscli`` don't match, and the second is the correct call.
This commit is contained in:
		
							parent
							
								
									1653545282
								
							
						
					
					
						commit
						41104f8af8
					
				@ -22,7 +22,7 @@ function aws_profiles {
 | 
			
		||||
compctl -K aws_profiles asp
 | 
			
		||||
 | 
			
		||||
if _homebrew-installed && _awscli-homebrew-installed ; then
 | 
			
		||||
  _aws_zsh_completer_path=$(brew --prefix)/opt/awscli/libexec/bin/aws_zsh_completer.sh
 | 
			
		||||
  _aws_zsh_completer_path=$(brew --prefix awscli)/libexec/bin/aws_zsh_completer.sh
 | 
			
		||||
else
 | 
			
		||||
  _aws_zsh_completer_path=$(which aws_zsh_completer.sh)
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user