13 lines
272 B
Fish
13 lines
272 B
Fish
function fish_prompt
|
|
set -g prompt_string
|
|
set -g prev_color
|
|
prompt.add \[ brblack
|
|
prompt.user
|
|
prompt.add (prompt_pwd) blue
|
|
prompt.git
|
|
prompt.add \] brblack
|
|
prompt.add $prompt_bang brred
|
|
|
|
echo $prompt_string
|
|
set -e prompt_string
|
|
end
|