Support for tilde

Reopening, support for expanding tilde in `--foo=~/bar`