configs  Artifact [905dffe455]

Artifact 905dffe4553c571cea8d7efe4deda6b611edcadcc1999e9e17c9e5d3fa7bde03:

  • 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)

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
end