mirror of
				https://github.com/wting/autojump
				synced 2025-06-13 12:54:07 +00:00 
			
		
		
		
	Disable echo of command check
For some reason, "command -v brew" by itself has started to output "/usr/local/bin/brew" whenever I start a new shell (in iTerm2 2.0 on OS X 10.9.4 with zsh, oh-my-zsh etc). This fixes it, and it looks like it's the recommended way anyway: - http://unix.stackexchange.com/a/85250/4678 - http://www.cyberciti.biz/faq/unix-linux-shell-find-out-posixcommand-exists-or-not/
This commit is contained in:
		
							parent
							
								
									23be6ab233
								
							
						
					
					
						commit
						5538cf70f3
					
				| @ -8,7 +8,7 @@ fi | ||||
| 
 | ||||
| 
 | ||||
| # set homebrew installation paths | ||||
| if command -v brew && [[ -d "$(brew --prefix)/share/zsh/site-functions" ]]; then | ||||
| if command -v brew &>/dev/null && [[ -d "$(brew --prefix)/share/zsh/site-functions" ]]; then | ||||
|     fpath=("$(brew --prefix)/share/zsh/site-functions" ${fpath}) | ||||
| fi | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user