Use $HOME instead of ~