dotfiles/.config/fish/functions/__sf_section_line_sep.fish
2023-07-16 18:24:42 +02:00

19 lines
588 B
Fish

#
# Line separator
#
function __sf_section_line_sep -d "Separate the prompt into two lines"
# ------------------------------------------------------------------------------
# Configuration
# ------------------------------------------------------------------------------
__sf_util_set_default SPACEFISH_PROMPT_SEPARATE_LINE true
# ------------------------------------------------------------------------------
# Section
# ------------------------------------------------------------------------------
if test "$SPACEFISH_PROMPT_SEPARATE_LINE" = "true"
echo -e -n \n
end
end