From e7b9a38a2b01c693744a3dbd95ee83dc41cd19a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pankowski?= Date: Mon, 30 Dec 2019 10:36:49 +0100 Subject: [PATCH] fish: start prompt with user@host --- .config/fish/functions/fish_prompt.fish | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/fish/functions/fish_prompt.fish b/.config/fish/functions/fish_prompt.fish index 00723f8..4f7de1c 100644 --- a/.config/fish/functions/fish_prompt.fish +++ b/.config/fish/functions/fish_prompt.fish @@ -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)