mirror of
https://github.com/fish-shell/fish-shell
synced 2025-02-24 11:27:41 +00:00
4 lines
127 B
Fish
4 lines
127 B
Fish
function prompt_hostname
|
|
# return the short hostname only by default (#4804)
|
|
string replace -r "\..*" "" $hostname
|
|
end
|