2023-02-05 22:13:01 +02:00
|
|
|
function fish_prompt
|
|
|
|
set -g prompt_string
|
|
|
|
set -g prev_color
|
2023-08-22 19:43:08 +03:00
|
|
|
prompt.add \[ brblack
|
2023-06-19 14:19:03 +03:00
|
|
|
prompt.user
|
2023-08-21 20:58:02 +03:00
|
|
|
prompt.add (prompt_pwd) blue
|
2023-02-05 22:13:01 +02:00
|
|
|
prompt.git
|
2023-08-22 19:43:08 +03:00
|
|
|
prompt.add \] brblack
|
2023-08-31 21:41:49 +03:00
|
|
|
prompt.bang
|
2023-02-05 22:13:01 +02:00
|
|
|
|
|
|
|
echo $prompt_string
|
|
|
|
set -e prompt_string
|
|
|
|
end
|