From ba9e536e7cc2260e7963f82169f8e34afa22e134 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Thu, 6 May 2021 13:25:51 +0200 Subject: [PATCH] Fish customize prompt --- arch-config/.config/fish/config.fish | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch-config/.config/fish/config.fish b/arch-config/.config/fish/config.fish index 82e1df4e..52491ee4 100755 --- a/arch-config/.config/fish/config.fish +++ b/arch-config/.config/fish/config.fish @@ -30,6 +30,21 @@ set fish_color_cancel brred # for ranger #set RANGER_LOAD_DEFAULT_RC FALSE +# custom prompt +function fish_prompt + set_color --bold red + echo -n (whoami) + set_color --bold yellow + echo -n "@" + set_color normal + set_color cyan + echo -n (hostname) + set_color yellow + echo -n ' '(prompt_pwd) + set_color normal + echo -n '> ' +end + # text editor #set EDITOR "/usr/bin/emacs --no-window-system" #set VISUAL "/usr/bin/emacs --no-window-system"