From 5e0910798e7ce12e8052d6c5f85c323b65676a16 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Tue, 6 Feb 2024 09:26:49 +0000 Subject: [PATCH] Configure private packages as part of the bootstrap --- bootstrap.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 55d0443..3de17bb 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -7,12 +7,20 @@ if [ $? -ne 0 ]; then fi # Clone dotfiles -git clone https://github.com/nikdoof/dotfiles.git $HOME/.dotfiles >/dev/null +git clone git@github.com:nikdoof/dotfiles.git $HOME/.dotfiles >/dev/null +git clone git@github.com:nikdoof/dotfiles-private.git $HOME/.dotfiles-private >/dev/null -# Stow the default packages +# Stow the default public packages for package in bin shell-common bash zsh; do echo "Stowing ${package}" $HOME/.dotfiles/bin/bin/stowage --clobber install $package done + +# Stow the default private packages +for package in ssh; do + echo "Stowing ${package}" + $HOME/.dotfiles/bin/bin/stowage -r $HOME/.dotfiles-private --clobber install $package +done + echo "" echo "Done, either source ~/.bash_profile / ~/.zshrc or restart your shell."