Limit $PWD in title to the last three components.