From 94010ef960d86ccc1bcf3acf758a0ed767ffa8c4 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 2bc077f..a729ef0 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 @@ -288,6 +288,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