1. 19 Feb, 2020 2 commits
    • Marc Cornellà's avatar
      Add themes in $ZSH_CUSTOM to the pool of candidates · b297bf92
      Marc Cornellà authored
      
      
      Also add comments and unset leftover variables, and print only the
      name of the theme loaded.
      
      When looking for $ZSH_CUSTOM themes, the chosen algorithm is to add
      the theme names to the pool disregarding the path, and then source
      whatever theme is selected with the same logic as the init script,
      which is to source first custom themes even if there is another
      default theme of the same name.
      Co-authored-by: default avatarMihai Serban <mihai.serban@gmail.com>
      b297bf92
    • Willy Weiskopf's avatar
      Move random theme functionality into "random" theme · 6adad5c3
      Willy Weiskopf authored
      The statements for selecting a random theme in oh-my-zsh.sh and the themes
      plugin are duplicate. Most people eventually settle on a theme, making those
      lines in oh-my-zsh.sh superfluous. To address those, it may makes sense to put
      the random theme functionality into a theme of its own (since themes are just
      zsh scripts.
      6adad5c3