mirror of
				https://github.com/dcarrillo/prezto.git
				synced 2025-11-04 01:39:09 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			409 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			409 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
# Complete brew.
 | 
						|
completion_file="${0:h}/_brew"
 | 
						|
if [[ ! -e "$completion_file" ]]; then
 | 
						|
  if [[ -L "$completion_file" ]]; then
 | 
						|
    unlink "$completion_file" 2> /dev/null
 | 
						|
  fi
 | 
						|
 | 
						|
  if (( $+commands[brew] )); then
 | 
						|
    ln -s \
 | 
						|
      "$(brew --prefix)/Library/Contributions/brew_zsh_completion.zsh" \
 | 
						|
      "$completion_file" \
 | 
						|
      2> /dev/null
 | 
						|
  fi
 | 
						|
fi
 | 
						|
unset completion_file
 | 
						|
 | 
						|
# Aliases
 | 
						|
alias brews='brew list -1'
 | 
						|
 |