mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
Remove "verbose" option for screen.
This commit is contained in:
parent
cb6bec83b8
commit
7dad3fc20a
@ -1054,16 +1054,11 @@ function __bobthefish_prompt_hg -S -a hg_root_dir -a real_pwd -d 'Display the ac
|
|||||||
end
|
end
|
||||||
|
|
||||||
function __bobthefish_prompt_screen -S -d 'Display the screen name'
|
function __bobthefish_prompt_screen -S -d 'Display the screen name'
|
||||||
[ "$theme_display_screen" = 'no' ]
|
[ "$theme_display_screen" = 'no' -o -z "$STY" ]
|
||||||
and return
|
|
||||||
|
|
||||||
[ -z "$STY" ]
|
|
||||||
and return
|
and return
|
||||||
|
|
||||||
__bobthefish_start_segment $color_screen
|
__bobthefish_start_segment $color_screen
|
||||||
[ "$theme_display_screen_verbose" = "yes" ]
|
echo -ns (string split "." -- $STY)[2] ' '
|
||||||
and echo -ns (string split "." -- $STY)[2]
|
|
||||||
echo -ns ' '
|
|
||||||
set_color normal
|
set_color normal
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user