Improve quoting around expansions
Don't check for tput

It's specified by POSIX, so probably overkill
Avoid using builtin names for promptt function arg