Use $USER instead of ~ in zsh install script