From 7dad3fc20a3326f43e71b5dd15efe3902c863e38 Mon Sep 17 00:00:00 2001 From: Justin Hileman Date: Sat, 9 Mar 2024 14:47:36 -0500 Subject: [PATCH] Remove "verbose" option for screen. --- functions/fish_prompt.fish | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/functions/fish_prompt.fish b/functions/fish_prompt.fish index 13d19da..2199898 100644 --- a/functions/fish_prompt.fish +++ b/functions/fish_prompt.fish @@ -1054,16 +1054,11 @@ function __bobthefish_prompt_hg -S -a hg_root_dir -a real_pwd -d 'Display the ac end function __bobthefish_prompt_screen -S -d 'Display the screen name' - [ "$theme_display_screen" = 'no' ] - and return - - [ -z "$STY" ] + [ "$theme_display_screen" = 'no' -o -z "$STY" ] and return __bobthefish_start_segment $color_screen - [ "$theme_display_screen_verbose" = "yes" ] - and echo -ns (string split "." -- $STY)[2] - echo -ns ' ' + echo -ns (string split "." -- $STY)[2] ' ' set_color normal end