Add parameter for home dir shortening

Closes #115.