configs/home/.zsh-distrobox/themes/spaceship-prompt/sections/line_sep.zsh

15 lines
367 B
Bash
Raw Permalink Normal View History

2023-06-16 22:58:47 +02:00
#
# Line separator
#
# ------------------------------------------------------------------------------
# Section
# ------------------------------------------------------------------------------
# Should it write prompt in two lines or not?
spaceship_line_sep() {
[[ $SPACESHIP_PROMPT_SEPARATE_LINE != true ]] && return
spaceship::section --color 'white' "\n"
}