mirror of
https://github.com/Cornelicorn/bullet-train.zsh.git
synced 2025-12-06 20:00:38 +01:00
Update bullet-train.zsh-theme (#173)
Include the third argument for the promp_segment function in the documentation
This commit is contained in:
committed by
Caio Gondim
parent
3b9134f07f
commit
7895667f94
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user