Created
May 5, 2012 09:06
-
-
Save padde/2601119 to your computer and use it in GitHub Desktop.
oh-my-zsh workaround for loading themes from $ZSH_CUSTOM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # your other stuff… | |
| # set ZSH_THEME above this line! | |
| # TODO: remove this when bug is fixed in oh-my-zsh | |
| # Workaround for loading theme from $ZSH_CUSTOM | |
| # Github issue: https://github.com/robbyrussell/oh-my-zsh/pull/1107 | |
| MY_ZSH_THEME=$ZSH_THEME; ZSH_THEME='' | |
| # OH MY ZSH! | |
| source $ZSH/oh-my-zsh.sh | |
| # TODO: remove this when bug is fixed in oh-my-zsh | |
| # Workaround for loading theme from $ZSH_CUSTOM | |
| # Github issue: https://github.com/robbyrussell/oh-my-zsh/pull/1107 | |
| source "$ZSH_CUSTOM/$MY_ZSH_THEME.zsh-theme" | |
| # your other stuff... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment