I think `$HOME` is preferred over `~` ; don't remember the details but I have been bitten by it more than once