configs  Artifact [00b7e44087]

Artifact 00b7e440875f78852bc09f6bdfb3fabf261c6c894a3240658ecd1d6a2bd12d6c:


# vim: se ts=4:

function fish_right_prompt --description 'Write out the right prompt'
	set -l last_status $status

	if [ (count (jobs)) -gt 0 ]
		set_color $fish_color_jobs
		echo -n " "(count (jobs))
	end

	if [ $last_status != 0 ]
		set_color $fish_color_status
		echo -n " $last_status"
	end

	echo -n " "
end