diff options
Diffstat (limited to 'share/tools/web_config/sample_prompts/classic_status.fish')
-rw-r--r-- | share/tools/web_config/sample_prompts/classic_status.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/tools/web_config/sample_prompts/classic_status.fish b/share/tools/web_config/sample_prompts/classic_status.fish index 6779c63f..fe64f793 100644 --- a/share/tools/web_config/sample_prompts/classic_status.fish +++ b/share/tools/web_config/sample_prompts/classic_status.fish @@ -12,7 +12,7 @@ function fish_prompt --description "Write out the prompt" # Just calculate this 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 set -l color_cwd |