migrate to dotter
This commit is contained in:
parent
c5618f2f2c
commit
23b6c0a596
265 changed files with 62 additions and 3125 deletions
11
configs/fish/functions/fish_prompt.fish
Normal file
11
configs/fish/functions/fish_prompt.fish
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue