Remove tilde, replace with HOME.