From d921159a7ed648105d9248cafa44930b90603604 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 16 Apr 2024 01:49:17 +0300 Subject: fish: show ssh'd hostname on prompt --- .config/fish/functions/fish_prompt.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/fish/functions') diff --git a/.config/fish/functions/fish_prompt.fish b/.config/fish/functions/fish_prompt.fish index 62e3d68..7d6f3e7 100644 --- a/.config/fish/functions/fish_prompt.fish +++ b/.config/fish/functions/fish_prompt.fish @@ -17,7 +17,7 @@ function fish_prompt end if set -q SSH_TTY - set -l marker "(prompt_hostname) $marker" + set marker "⸢$(prompt_hostname)⸥ " "$marker_color" "ζ" end set -l cwd $cyan (string join / (string split -r -m3 / (prompt_pwd))[-3..-1]) -- cgit v1.2.3-70-g09d2