Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: .zsh_favlist



On Mon, Mar 2, 2020 at 1:00 AM Lewis Butler <lbutler@xxxxxxxxxx> wrote:
>
> How would one use the .zsh_favlist file to choose one of the listed themes on invoking zsh?

The only project I know of that uses this file is Oh My Zsh. If you
are using Oh My Zsh, you can use a random theme from this file by
placing the following lines in zshrc before sourcing
$ZSH/oh-my-zsh.sh:

    ZSH_THEME=random
    ZSH_THEME_RANDOM_CANDIDATES=($(<~/.zsh_favlist))

Roman.



Messages sorted by: Reverse Date, Date, Thread, Author