aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/tools/web_config/sample_prompts/debian_chroot.fish
diff options
context:
space:
mode:
Diffstat (limited to 'share/tools/web_config/sample_prompts/debian_chroot.fish')
-rw-r--r--share/tools/web_config/sample_prompts/debian_chroot.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/tools/web_config/sample_prompts/debian_chroot.fish b/share/tools/web_config/sample_prompts/debian_chroot.fish
index 694c5c5d..80acfa9a 100644
--- a/share/tools/web_config/sample_prompts/debian_chroot.fish
+++ b/share/tools/web_config/sample_prompts/debian_chroot.fish
@@ -5,7 +5,7 @@ function fish_prompt --description 'Write out the prompt, prepending the Debian
# Just calculate these once, to save a few cycles when displaying the prompt
if not set -q __fish_prompt_hostname
- set -g __fish_prompt_hostname (uname -n)
+ set -g __fish_prompt_hostname (hostname|cut -d . -f 1)
end
if not set -q __fish_prompt_normal