summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSamuel Lelièvre <slel@users.noreply.github.com>2018-08-29 20:50:52 +0200
committerRobby Russell <robby@planetargon.com>2018-08-29 11:50:52 -0700
commit77d75d7fcdcc7978246b84e6b3f0e95a0595c452 (patch)
tree2aed6daeedc26d7035dda7cf78edd45fb5eb728a /templates
parente93378aacd313a11b83da1d0d7480c1840cd2532 (diff)
downloadzsh-77d75d7fcdcc7978246b84e6b3f0e95a0595c452.tar.gz
zsh-77d75d7fcdcc7978246b84e6b3f0e95a0595c452.tar.bz2
zsh-77d75d7fcdcc7978246b84e6b3f0e95a0595c452.zip
Clarify random theme setting (#7090)
Clarify random theme setting, in particular how to know which theme was loaded if picked at random.
Diffstat (limited to 'templates')
-rw-r--r--templates/zshrc.zsh-template21
1 files changed, 11 insertions, 10 deletions
diff --git a/templates/zshrc.zsh-template b/templates/zshrc.zsh-template
index 5f98fb211..7cd2a873b 100644
--- a/templates/zshrc.zsh-template
+++ b/templates/zshrc.zsh-template
@@ -4,23 +4,23 @@
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
-# Set name of the theme to load. Optionally, if you set this to "random"
-# it'll load a random theme each time that oh-my-zsh is loaded.
+# Set name of the theme to load --- if set to "random", it will
+# load a random theme each time oh-my-zsh is loaded, in which case,
+# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="robbyrussell"
-# Set list of themes to load
-# Setting this variable when ZSH_THEME=random
-# cause zsh load theme from this variable instead of
-# looking in ~/.oh-my-zsh/themes/
-# An empty array have no effect
+# Set list of themes to pick from when loading at random
+# Setting this variable when ZSH_THEME=random will cause zsh to load
+# a theme from this variable instead of looking in ~/.oh-my-zsh/themes/
+# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
-# Uncomment the following line to use hyphen-insensitive completion. Case
-# sensitive completion must be off. _ and - will be interchangeable.
+# Uncomment the following line to use hyphen-insensitive completion.
+# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"
# Uncomment the following line to disable bi-weekly auto-update checks.
@@ -57,7 +57,8 @@ ZSH_THEME="robbyrussell"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
-# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
+# Which plugins would you like to load?
+# Standard plugins can be found in ~/.oh-my-zsh/plugins/*
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.