Update bullet-train.zsh-theme (#173)

Include the third argument for the promp_segment function in the documentation
This commit is contained in:
Iulian Onofrei
2016-10-26 17:22:59 +03:00
committed by Caio Gondim
parent 3b9134f07f
commit 7895667f94

View File

@@ -310,8 +310,8 @@ CURRENT_BG='NONE'
SEGMENT_SEPARATOR='' SEGMENT_SEPARATOR=''
# Begin a segment # Begin a segment
# Takes two arguments, background and foreground. Both can be omitted, # Takes three arguments, background, foreground and text. All of them can be omitted,
# rendering default background/foreground. # rendering default background/foreground and no text.
prompt_segment() { prompt_segment() {
local bg fg local bg fg
[[ -n $1 ]] && bg="%K{$1}" || bg="%k" [[ -n $1 ]] && bg="%K{$1}" || bg="%k"