antigen updater, macOS defaults setter

This commit is contained in:
Ismo Vuorinen
2022-12-09 16:23:00 +02:00
parent 8814c777f5
commit 8a8699bf0c

View File

@@ -24,11 +24,19 @@ function section_install
USAGE_PREFIX="Usage: $0 install"
case "$1" in
antigen)
curl -L git.io/antigen > "$DOTFILES/config/antigen.zsh" && echo "🎉 Done!"
;;
defaults)
bash "$DOTFILES/scripts/set-defaults.sh" && echo "🎉 Done!"
;;
gh-extensions)
bash "$DOTFILES/scripts/gh-extensions.sh" && echo "🎉 Done!"
;;
*)
echo "$USAGE_PREFIX [gh-extensions]"
echo "$USAGE_PREFIX [antigen | defaults | gh-extensions]"
echo " * antigen: Updates the antigen.zsh file"
echo " * defaults: Setup nice macOS defaults"
echo " * gh-extensions: Install GitHub CLI Extensions"
;;
esac