Artifact fee281d99041346f4ccb14a3ad2b7162c2118956569f6c32138ac657a9e0a959:
- File config/fish/functions/fish_right_prompt.fish — part of check-in [dc711ef8ab] at 2020-01-21 23:04:07 on branch trunk — fish: Better prompt for root (user: js size: 244)
function fish_right_prompt set -l code $status set -l jobs (jobs | wc -l) if test $jobs -gt 0 set_color $fish_color_jobs echo "$jobs " end if test $code -gt 0 set_color $fish_color_error echo "$code " end set_color normal end