From f8012eae841887a524338ce54188d91dd8439691 Mon Sep 17 00:00:00 2001 From: Dietrich Daroch Date: Wed, 23 Aug 2017 21:11:13 -0700 Subject: [PATCH] Add setting for clean multiline prompt --- fish_prompt.fish | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fish_prompt.fish b/fish_prompt.fish index a4f51c3..aa9da77 100644 --- a/fish_prompt.fish +++ b/fish_prompt.fish @@ -36,7 +36,7 @@ # set -g theme_color_scheme dark # set -g fish_prompt_pwd_dir_length 0 # set -g theme_project_dir_length 1 -# set -g theme_newline_cursor yes +# set -g theme_newline_cursor yes | clean # =========================== # Helper methods @@ -308,6 +308,8 @@ function __bobthefish_finish_segments -S -d 'Close open prompt segments' else echo -ns "$__bobthefish_right_arrow_glyph " end + else if [ "$theme_newline_cursor" = 'clean' ] + echo -ens "\n" end set_color normal