Oh My ZSH plugins do not load on startup
6,504
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
Related videos on Youtube
Comments
-
Tyler over 1 year
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?
-
Andrew M. almost 12 yearsAre 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? -
slhck almost 12 yearsCan 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? -
Tyler almost 12 years@AndrewM. I am absolutely sure zsh is my login shell. I've run
chsh -s /bin/zsh
. @slhcksource $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. -
slhck almost 12 yearsSo ZSH and Oh-my-zsh work, but just all your plugins aren't loaded?
-
Tyler almost 12 yearsCorrect. (10 chars)
-
Andrew M. almost 12 yearsAh, good to know. In interpreted it as "Oh My ZSH the doesn't load." :) With that being said; so you have any variables or things being set AFTER your
source $ZSH/oh-my-zsh.sh
is called? Also, if you runzsh
after you login, are the plug-ins loaded correctly? Attaching your.zshrc
would be a big help as well.
-