mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 17:31:14 -03:00
prompts: more concise way of getting the hostname.
This commit is contained in:
committed by
David Adam
parent
35bbc1d7b7
commit
233c443694
@@ -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 '
|
||||
|
||||
|
||||
Reference in New Issue
Block a user