fish: start prompt with user@host

This commit is contained in:
Łukasz Pankowski 2019-12-30 10:36:49 +01:00
parent c3240632a9
commit e7b9a38a2b

View File

@ -76,6 +76,10 @@ function fish_prompt --description 'Write out the prompt'
set suffix '$'
end
# USER@HOST
set_color normal
printf '%s@%s ' "$USER" (prompt_hostname)
# PWD
set_color $color_cwd
echo -n (prompt_pwd)