zsh-users
 help / color / mirror / code / Atom feed
* .zsh_favlist
@ 2020-03-01 23:59 Lewis Butler
  2020-03-02  9:43 ` .zsh_favlist Roman Perepelitsa
  0 siblings, 1 reply; 2+ messages in thread
From: Lewis Butler @ 2020-03-01 23:59 UTC (permalink / raw)
  To: Zsh Users

How would one use the .zsh_favlist file to choose one of the listed themes on invoking zsh?


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: .zsh_favlist
  2020-03-01 23:59 .zsh_favlist Lewis Butler
@ 2020-03-02  9:43 ` Roman Perepelitsa
  0 siblings, 0 replies; 2+ messages in thread
From: Roman Perepelitsa @ 2020-03-02  9:43 UTC (permalink / raw)
  To: Lewis Butler; +Cc: Zsh Users

On Mon, Mar 2, 2020 at 1:00 AM Lewis Butler <lbutler@covisp.net> 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-02  9:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-01 23:59 .zsh_favlist Lewis Butler
2020-03-02  9:43 ` .zsh_favlist Roman Perepelitsa

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).