Differences From Artifact [905dffe455]:
- File config/fish/functions/fish_right_prompt.fish — part of check-in [09fe98aab3] at 2020-01-21 00:11:28 on branch trunk — Add fish config (user: js, size: 225) [annotate] [blame] [check-ins using]
To Artifact [fee281d990]:
- 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) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | + + | 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 |