diff options
author | Vidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com> | 2020-12-25 20:30:33 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <bokuwakanojogahoshii@yahoo.com> | 2020-12-25 20:30:33 +0530 |
commit | 9df0b63f159e586cea761e1af3dec5c198b0dd6f (patch) | |
tree | 6064e185bac190f110c091a636868d226126db5e /archive/fish/functions | |
parent | bc13d406e284d5c843a2744c9edc73e522cc0189 (diff) |
moved the configs I no longer need to archive/
Diffstat (limited to 'archive/fish/functions')
-rw-r--r-- | archive/fish/functions/fish_prompt.fish | 23 |
1 files changed, 23 insertions, 0 deletions
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 |