DIST_SITE = https://dist.aitken.com

# Install all local customizations.
install: rcfiles vim-colorschemes bat-themes glow-config

rcfiles:
	curl -fsSL $(DIST_SITE)/local/install-rc-files.sh | sh

vim-colorschemes:
	curl -fsSL $(DIST_SITE)/local/install-vim-colorschemes.sh | sh

bat-themes:
	curl -fsSL $(DIST_SITE)/local/install-bat-themes.sh | sh

glow-config:
	curl -fsSL $(DIST_SITE)/local/install-glow-config.sh | sh

# Force-overwrite existing bat config file.
bat-themes-fresh:
	curl -fsSL $(DIST_SITE)/local/install-bat-themes.sh | OVERWRITE_BAT_CONFIG=1 sh

# Force-overwrite existing glow config file.
glow-config-fresh:
	curl -fsSL $(DIST_SITE)/local/install-glow-config.sh | OVERWRITE_GLOW_CONFIG=1 sh

.PHONY: install rcfiles vim-colorschemes bat-themes glow-config bat-themes-fresh glow-config-fresh
