mitchellh/go-homedir — pull request #2 by bredov (2014-09-13 04:20:15+00:00)
Title: Fix Expand for path of len <= 1.

Current implementation panics if `len(path) <= 1`, thus do not produce desired result for single `~` path.