Autojump plugin outputs errors under some users on non-Homebrew systems #1050

Closed
wting opened this Issue Apr 3, 2012 · 0 comments

Comments

Projects
None yet
2 participants
@wting
Contributor

wting commented Apr 3, 2012

autojump.plugin.zsh line 6 outputs error messages when run under certain conditions on my (Linux, non-Homebrew) system. For example:

➤  sudo -s
Password: 
/root/.oh-my-zsh/plugins/autojump/autojump.plugin.zsh:6: command not found: brew
/root/.oh-my-zsh/plugins/autojump/autojump.plugin.zsh:[:6: too many arguments


➤  jhbuild shell
/home/ting/.oh-my-zsh/plugins/autojump/autojump.plugin.zsh:6: command not found: brew
/home/ting/.oh-my-zsh/plugins/autojump/autojump.plugin.zsh:[:6: too many arguments
using ssh agent 1385
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment