1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2025-09-19 09:06:27 +08:00
Willy Weiskopf 6adad5c300 Move random theme functionality into "random" theme
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.
2020-02-19 18:20:28 +01:00
..

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.