mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-12-01 21:24:55 +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
|