diff options
Diffstat (limited to 'share/tools/web_config/sample_prompts/classic.fish')
-rw-r--r-- | share/tools/web_config/sample_prompts/classic.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/tools/web_config/sample_prompts/classic.fish b/share/tools/web_config/sample_prompts/classic.fish index e421f944..b092803e 100644 --- a/share/tools/web_config/sample_prompts/classic.fish +++ b/share/tools/web_config/sample_prompts/classic.fish @@ -2,7 +2,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 |