mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-21 23:33:21 +01:00
6adad5c300
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.