Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function fish_prompt
- test $SSH_TTY; and printf (set_color red)(whoami)(set_color white)'@'(set_color yellow)(hostname)' '
- test $USER = 'root'; and echo (set_color red)"#"
- # Main
- echo -n (set_color cyan)(prompt_pwd) (set_color red)'❯'(set_color yellow)'❯'(set_color green)'❯ '
- end
Advertisement
Add Comment
Please, Sign In to add comment