prompts: more concise way of getting the hostname.

This commit is contained in:
Michael Fogleman
2015-10-14 09:04:18 -04:00
committed by David Adam
parent 35bbc1d7b7
commit 233c443694
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' (hostname|cut -d . -f 1)
printf '%s' (uname -n)
set_color normal
printf ' in '