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

15 lines
367 B
Bash
Raw Permalink Normal View History

2022-12-01 13:28:20 +01: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"
}