Artifact 856b4e0c5fbfe0475c2d23d606d9727cf8447fe5237a10547395db9a8381c071:
- File config/fish/functions/fish_right_prompt.fish — part of check-in [6fc784e055] at 2020-02-02 21:18:20 on branch trunk — fish: Slight improvement of prompt (user: js, size: 274) [annotate] [blame] [check-ins using]
function fish_right_prompt set -l code $status set -l jobs (jobs | wc -l) set -l prompt test $jobs -gt 0 and set -a prompt (set_color $fish_color_jobs)$jobs test $code -gt 0 and set -a prompt (set_color $fish_color_error)$code echo $prompt set_color normal end