mirror of
https://github.com/eRgo35/dots.git
synced 2025-12-16 15:36:11 +01:00
12 lines
440 B
Fish
12 lines
440 B
Fish
# a called to `_pure_prompt_new_line` is triggered by an event
|
|
function fish_prompt
|
|
set --local exit_code $status # save previous exit code
|
|
|
|
_pure_print_prompt_rows # manage default vs. compact prompt
|
|
_pure_place_iterm2_prompt_mark # place iTerm shell integration mark
|
|
echo -e -n (_pure_prompt $exit_code) # print prompt
|
|
echo -e (_pure_prompt_ending) # reset colors and end prompt
|
|
|
|
set _pure_fresh_session false
|
|
end
|