Expand ~ to $HOME in shell profile