From 0a35e63057dec8796c3907e2eaa3d6a94588b4fd Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Fri, 20 Jan 2023 20:28:57 -0500 Subject: [PATCH] fish: only shorten username to 5 characters --- src/.config/fish/functions/prompts.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/.config/fish/functions/prompts.fish b/src/.config/fish/functions/prompts.fish index 98af09a..1a610ba 100644 --- a/src/.config/fish/functions/prompts.fish +++ b/src/.config/fish/functions/prompts.fish @@ -17,7 +17,7 @@ function fish_right_prompt end printf '%s%s@%s%s' $usercolor \ - (echo $USER | string shorten -m 1 -c '') \ + (echo $USER | string shorten -m 5 -c '') \ (echo $hostname | string shorten -m 1 -c '') \ (set_color normal) end