fish: only shorten username to 5 characters
This commit is contained in:
parent
0a1e31d35f
commit
0a35e63057
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user