Add functions for changing prompt length

In long paths, my normal prompt gets uncomfortably close to the right
side of the screen, or, even worse, wraps the edge.  It's unacceptable.