From 31a8bc976b49a5f463931f3068f087f386b848ae Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Tue, 26 Nov 2024 05:59:10 -0800 Subject: [PATCH] hostname in prompt --- fish_prompt.fish | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/fish_prompt.fish b/fish_prompt.fish index 71a7788..1499aa7 100644 --- a/fish_prompt.fish +++ b/fish_prompt.fish @@ -86,7 +86,15 @@ function fish_mode_prompt printf '] ' end +function fish_right_prompt + set_color $__slavic_color_lilac + date '+%a %b-%d-%Y %T' +end + function fish_prompt + __slavic_color_echo $__slavic_color_blue "󰖟 " + __slavic_color_echo $__slavic_color_white (prompt_hostname) + printf " " __slavic_color_echo $__slavic_color_purple (prompt_pwd) __slavic_git_status