Use stow to deploy, e.g. cd dotfiles stow nvim That will put link nvim files in the directory above dotfiles. Hence put dotfiles directly inside $HOME.