diff --git a/includes/post/user-setup.ksi b/includes/post/user-setup.ksi index 22b0d93..0b1e831 100644 --- a/includes/post/user-setup.ksi +++ b/includes/post/user-setup.ksi @@ -39,7 +39,7 @@ git --git-dir="${HOME}/.dotfiles" --work-tree="${HOME}" checkout -f rm -rf "${HOME}/.config/nvim" EOF chmod +x get-dotfiles.sh -sudo -i -u "${USER_NAME}" bash get-dotfiles.sh +sudo -i -u "${USER_NAME}" bash "$PWD/get-dotfiles.sh" rm -vf get-dotfiles.sh # Lock the root account