Simpler job prompt segment

This commit is contained in:
Daniel Flanagan 2022-10-11 23:14:24 -05:00
parent 2f24e7c4f9
commit 20a6c72d8b
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4

View file

@ -36,7 +36,7 @@ function fish_prompt
set -q CMD_DURATION && printf " %dms" $CMD_DURATION set -q CMD_DURATION && printf " %dms" $CMD_DURATION
if jobs -q if jobs -q
set_color -b normal cyan set_color -b normal cyan
printf " [jobs: %d]" (jobs -p | wc -l) printf " &%d" (jobs -p | wc -l)
end end
printf "\n" printf "\n"
set_color brblack set_color brblack