1function fish_prompt
2 if test -n "$SSH_TTY"
3 echo -n "$hostname "
4 end
5
6 if test -n "$REGION"
7 set_color FF69B4
8 echo -n "[$REGION] "
9 end
10
11 if not test $status -eq 0
12 set_color $fish_color_error
13 else if test -n "$SSH_TTY"
14 set_color FF69B4
15 else
16 set_color $fish_color_cwd
17 end
18
19 echo -n '$ '
20 set_color normal
21end
22