fish: only shorten username to 5 characters

This commit is contained in:
dogeystamp 2023-01-20 20:28:57 -05:00
parent 0a1e31d35f
commit 0a35e63057
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -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