Skip to content

Instantly share code, notes, and snippets.

@padde
Created May 5, 2012 09:06
Show Gist options
  • Select an option

  • Save padde/2601119 to your computer and use it in GitHub Desktop.

Select an option

Save padde/2601119 to your computer and use it in GitHub Desktop.
oh-my-zsh workaround for loading themes from $ZSH_CUSTOM
# 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