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

15 lines
367 B
Bash
Raw Permalink Normal View History

2023-06-30 21:45:57 +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"
}