this should fix the tput errors on non interactive shells
Merge remote-tracking branch 'tilde/master'