fish_prompt.fish (390B)
1 function fish_prompt 2 if test -n "$SSH_TTY" 3 echo -n (set_color brred)"$USER"(set_color white)'@'(set_color yellow)(prompt_hostname)' ' 4 end 5 6 echo -n (set_color blue)(prompt_pwd)' ' 7 8 set_color -o 9 if fish_is_root_user 10 echo -n (set_color red)'# ' 11 end 12 echo -n (set_color red)'❯'(set_color yellow)'❯'(set_color green)'❯ ' 13 set_color normal 14 end