Got the user@hostname part done.
This commit is contained in:
parent
9ff6e38871
commit
4df0173756
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,8 @@ end
|
|||
|
||||
|
||||
function fish_prompt
|
||||
echo -s (set_color -o cyan)(whoami)(set_color normal)@(hostname| cut -d . -f 1)
|
||||
echo -s (set_color (__caret_color))'# '(set_color normal)
|
||||
echo (set_color -o cyan)(whoami)(set_color normal)(set_color yellow)@(set_color -o blue)(hostname| cut -d . -f 1)(set_color normal):
|
||||
echo -n (set_color (__caret_color))'# '(set_color normal)
|
||||
end
|
||||
|
||||
function fish_right_prompt -d "Write out the right prompt"
|
||||
|
|
Loading…
Reference in a new issue