Abbreviate a path for display.
Paths under the default profile render with a leading ~. A configured
profile renders literally, because abbreviating it would hide which
profile is in use. A path outside the profile root (an installation
path, say) also renders literally.