Revert "prompts: more concise way of getting the hostname."

This reverts commit 233c443694.

See discussion in https://github.com/fish-shell/fish-shell/pull/2489
This commit is contained in:
David Adam
2015-10-16 07:01:12 +08:00
parent b7e991c4b7
commit b776327b9d
12 changed files with 13 additions and 13 deletions

View File

@@ -12,7 +12,7 @@ function fish_prompt
printf ' at '
set_color magenta
printf '%s' (uname -n)
printf '%s' (hostname|cut -d . -f 1)
set_color normal
printf ' in '