mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-26 10:13:46 +08:00
8 lines
118 B
Fish
8 lines
118 B
Fish
|
function fish_prompt
|
||
|
if test -n "$SSH_CONNECTION"
|
||
|
printf '%s ' $HOSTNAME
|
||
|
end
|
||
|
|
||
|
printf '%s ' (prompt_pwd)
|
||
|
end
|