From 9df0b63f159e586cea761e1af3dec5c198b0dd6f Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Fri, 25 Dec 2020 20:30:33 +0530 Subject: moved the configs I no longer need to archive/ --- archive/fish/functions/fish_prompt.fish | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 archive/fish/functions/fish_prompt.fish (limited to 'archive/fish/functions/fish_prompt.fish') diff --git a/archive/fish/functions/fish_prompt.fish b/archive/fish/functions/fish_prompt.fish new file mode 100644 index 00000000..b8371e5c --- /dev/null +++ b/archive/fish/functions/fish_prompt.fish @@ -0,0 +1,23 @@ +set __fish_git_prompt_showcolorhints + +set __fish_git_prompt_color_branch 0a4efc --bold +set __fish_git_prompt_color_dirtystate white +set __fish_git_prompt_color_invalidstate red +set __fish_git_prompt_color_merging yellow +set __fish_git_prompt_color_stagedstate yellow +set __fish_git_prompt_color_upstream_ahead green +set __fish_git_prompt_color_upstream_behind red + +function fish_prompt + set last_status $status + + set_color fc0a4a --bold + printf '%s' (prompt_pwd) + + set_color normal + printf '%s ' (__fish_git_prompt) + set_color 5c64db + + echo -n " " + set_color normal +end -- cgit v1.2.3