1
0
Fork 0
vdotfiles/cli/.config/fish/functions/fish_prompt.fish

14 lines
256 B
Fish
Raw Normal View History

2023-02-05 22:13:01 +02:00
function fish_prompt
set -g prompt_string
set -g prev_color
2023-08-21 20:58:02 +03:00
prompt.add \[
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-21 20:58:02 +03:00
prompt.add \]
prompt.add $prompt_bang brred
2023-02-05 22:13:01 +02:00
echo $prompt_string
set -e prompt_string
end