colors! color the number of jobs orange

I needed to rearrange the environment variables so `tput` knew which
terminal I'm using before I ask it for escape sequences

also: quote more things, as recommended in freenode/#bash