Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Using iTerm2 or Terminal.app I have to run su $USER in order for my plugins to load or display in my prompt (e.g. the RVM plugin).

Any reason why this would be?

share|improve this question
    
Are you sure your shell is launching zsh and not bash when you startup a terminal? What happens if you just type zsh after you load a shell? –  Andrew M. Jul 12 '12 at 21:21
    
Can you be more specific, please, and tell us how your zshrc looks like, and if source $ZSH/oh-my-zsh.sh is even called or not? Does it work if you manually execute that command? –  slhck Jul 12 '12 at 21:21
    
@AndrewM. I am absolutely sure zsh is my login shell. I've run chsh -s /bin/zsh. @slhck source $ZSH/oh-my-zsh.sh is called in my .zshrc file. Thanks for your help guys. It loads the theme I've selected and my aliases so I'm fairly certain my .zshrc file is being used. –  Tyler Jul 12 '12 at 21:25
    
So ZSH and Oh-my-zsh work, but just all your plugins aren't loaded? –  slhck Jul 12 '12 at 21:27
    
Correct. (10 chars) –  Tyler Jul 12 '12 at 21:27

1 Answer 1

I just a had a similar problem where some plugins appeared to not get executed. In my case the plugin depended on something installed by homebrew and was failing silently. So I just made sure /usr/local/bin was in $PATH before source $ZSH/oh-my-zsh.sh

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.