From a089104b9656f346072be1d124e8401fc7c76125 Mon Sep 17 00:00:00 2001 From: Chris Hirsch Date: Fri, 20 Nov 2026 11:32:55 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20write=20~/.gitconfig.user?= =?UTF-8?q?=20and=20fetch=20submodules=20early?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The installer printed the [user] block instead of writing it. The submodule update runs right after the symlinks. --- install/install.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/install/install.sh b/install/install.sh index 50f441d..f859812 100755 --- a/install/install.sh +++ b/install/install.sh @@ -299,6 +299,11 @@ kubernetes() { ../kubernetes/install.sh } +submodules() { + logger "Updating meeting backgrounds and neovim submodules..." + git -C ~/dotfiles submodule update --init --recursive +} + gitinstall() { if [ ! -d /opt/homebrew/lib/node_modules/git-cz ] ; then logger "Setting up git commitizen..." @@ -311,14 +316,10 @@ gitinstall() { logger "Setting up local git config..." read -p "Please enter your LOCAL (ie business) email address: " email logger "Using $email for ~/.gitconfig.user" - echo -e "[user]\n email = ${email}\n" + printf '[user]\n email = %s\n' "$email" > ~/.gitconfig.user else logger "Local Git config already installed..." fi - - - logger "Updating meeting backgrounds and neovim submodules..." - cd ~/dotfiles && git submodule update --init --recursive } elixirinstall() { @@ -415,6 +416,7 @@ macos_settings() { set_os_vars create_symlinks +submodules claude_config install_packages add_aliases