From c8bdb844fe15e3f220fee8f42daad329bd987fed Mon Sep 17 00:00:00 2001 From: Inkletblot Date: Wed, 24 Feb 2021 21:41:56 +1030 Subject: [PATCH] updated fish config, prompt is now better for use accros systems --- .config/fish/config.fish | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 4d576ca..15f7de3 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -86,13 +86,16 @@ function fish_prompt set -g whitespace ' ' if test $last_status = 0 - set initial_indicator "$green◆" - set status_indicator "$normal❯$cyan❯$green❯" + set initial_indicator "$green*" + set status_indicator "$green>" else - set initial_indicator "$red✖ $last_status" - set status_indicator "$red❯$red❯$red❯" + set initial_indicator "$red x $last_status" + set status_indicator "$red>" end - set -l cwd $cyan(pwd) + + set -l cwd $green(hostname) " > " $cyan(pwd) + +# set -l cwd $cyan(pwd) if [ (_git_branch_name) ]