From a4aba8311eb8b218923025db720d6e6b5ed697c6 Mon Sep 17 00:00:00 2001 From: Menno van Leeuwen Date: Mon, 19 Feb 2024 14:07:46 +0100 Subject: [PATCH] wip --- setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index fe78c44..8e15277 100755 --- a/setup.sh +++ b/setup.sh @@ -5,6 +5,7 @@ help() { echo "Usage: $0 [option...]" >&2 echo echo " -i, --install Run installation process" + echo " -c, --continue Install home-manager and switch to dotfiles flake" echo " -h, --help Display this help message" echo exit 1 @@ -105,7 +106,7 @@ if [ "$1" == "-i" ] || [ "$1" == "--install" ]; then clone_dotfiles echo 'Nix and dotfiles are installed, running initial home-manager setup...' - bash -c ~/.dotfiles/setup.sh -c + bash -c "~/.dotfiles/setup.sh -c" elif [ "$1" == "-c" ] || [ "$1" == "--continue" ]; then # Run initial home-manager setup home_manager_setup