directory shortening works now on any terminal size.