mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-01-22 22:02:00 +08:00
11 lines
153 B
Fish
11 lines
153 B
Fish
function fish_prompt
|
|
if test -n "$SSH_CONNECTION"
|
|
printf '%s ' $HOSTNAME
|
|
end
|
|
|
|
set_color red
|
|
printf "⊨"
|
|
set_color normal
|
|
printf " "
|
|
end
|