aboutsummaryrefslogtreecommitdiff
path: root/fish/functions/fish_prompt.fish
blob: b8371e5c60000c7f09d126e471332b138f66beb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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