feat: installer and logging

This commit is contained in:
2024-03-07 01:51:14 +00:00
parent 1d574b0d63
commit c0ce6ea961
4 changed files with 9 additions and 3 deletions

View File

@@ -20,4 +20,6 @@ if command -v apt-get &> /dev/null; then
fi
unset apt_packages
else
echo "Skipping: apt-get not found"
fi

View File

@@ -12,3 +12,5 @@ if ! command -v git &> /dev/null; then
brew install git
fi
fi
git --version

View File

@@ -15,13 +15,14 @@ fi
stow --version
root_dir=$(dirname "$(dirname "$(dirname "$(realpath "$0")")")")
root_dir=${DOTFILES:-$(dirname "$(dirname "$(dirname "$(realpath "$0")")")")}
rm -f $HOME/.bash_profile
rm -f $HOME/.bashrc
rm -f $HOME/.gitconfig
rm -f $HOME/.profile
rm -f $HOME/.zshrc
rm -f $HOME/.p10k.zsh
rm -f $HOME/.ssh/config
mkdir -p $HOME/.config