disco prompt: Use $hostname

This commit is contained in:
Fabian Homborg
2022-02-16 15:07:06 +01:00
committed by GitHub
parent 1b7a43877b
commit d0667e9e88

View File

@@ -47,8 +47,7 @@ function fish_prompt
command -sq systemd-detect-virt
and systemd-detect-virt -q
end
set -l host (hostname)
set prompt_host $usercolor$USER$normal@(set_color $fish_color_host)$host$normal":"
set prompt_host $usercolor$USER$normal@(set_color $fish_color_host)$hostname$normal":"
end
end