Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 1
    Now it is 2017. What did you learn? Commented Oct 22, 2017 at 7:07
  • 1
    Have you tried exporting instead of just setting ZSH_THEME? I have alias resource='source $ZSH/oh-my-zsh.sh' and alias restyle='(){ export ZSH_THEME="$@" && resource }', so for example, all I have to write is restyle sorin. (This expects export ZSH=~/path/to/oh-my-zsh.) (As an aside, some of my .zshrc is sensitive to double-sourcing, so I added include guards and generally just source oh-my-zsh.) For what it's worth, I tried setting ZSH_THEME without exporting, and it worked anyway. Please take a moment to update if you still have this environment or one like it. Commented Aug 28, 2018 at 15:44