From d0667e9e88a29ec8e884e01819012ddd5d52724b Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Wed, 16 Feb 2022 15:07:06 +0100 Subject: [PATCH] disco prompt: Use $hostname --- share/tools/web_config/sample_prompts/disco.fish | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/share/tools/web_config/sample_prompts/disco.fish b/share/tools/web_config/sample_prompts/disco.fish index 769c9700c..a9fe94764 100644 --- a/share/tools/web_config/sample_prompts/disco.fish +++ b/share/tools/web_config/sample_prompts/disco.fish @@ -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