From 7895667f945dd780b68db3c7c27a5aabbb31a5ee Mon Sep 17 00:00:00 2001 From: Iulian Onofrei Date: Wed, 26 Oct 2016 17:22:59 +0300 Subject: [PATCH] Update bullet-train.zsh-theme (#173) Include the third argument for the promp_segment function in the documentation --- bullet-train.zsh-theme | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bullet-train.zsh-theme b/bullet-train.zsh-theme index 8441c58..29b730c 100644 --- a/bullet-train.zsh-theme +++ b/bullet-train.zsh-theme @@ -310,8 +310,8 @@ CURRENT_BG='NONE' SEGMENT_SEPARATOR='' # Begin a segment -# Takes two arguments, background and foreground. Both can be omitted, -# rendering default background/foreground. +# Takes three arguments, background, foreground and text. All of them can be omitted, +# rendering default background/foreground and no text. prompt_segment() { local bg fg [[ -n $1 ]] && bg="%K{$1}" || bg="%k"