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. |
||
|---|---|---|
| .. | ||
| _theme | ||
| README.md | ||
| themes.plugin.zsh | ||
Themes Plugin
This plugin allows you to change ZSH theme on the go.
To use it, add themes to the plugins array in your zshrc file:
plugins=(... themes)
Usage
theme <theme_name> - Changes the ZSH theme to specified theme.
theme - Changes the ZSH theme to some random theme.
lstheme - Lists installed ZSH themes.