
default : print-help
help : print-help
instal : instal-packages, instal-config
instal-config : instal-bash-config, instal-zsh-config
getmycode : code-bash, code-zsh

print-help :
	@echo -e "Help!?!?"
	@echo -e "Use 'make instal' to instal this config and required packages"
	@echo -e "Use 'make instal-config' to only copy the configuration files"
	@echo -e "Use 'make instal-packaged' to instal packages: zsh, easy-zsh-config, oh-my-posh"
	@echo -e "Use 'make getmycode' to get configuration-code from your config to this project"

instal-bash-config :
	@echo -e "Installing bash config to $$HOME"
	cp ./.bashrc ~/

instal-zsh-config :
	@echo -e "Installing zsh config to $$HOME"
	cp ./.zshrc ~/

instal-packages :
	sudo pacman -S --needed zsh #zsh shell environment
	# yay -S --needed easy-zsh-config #zsh suggestion/command-completion and syntax higlighting

code-bash :
	@echo -e "Getting bash config from $$HOME"
	cp ~/.bashrc ./

code-zsh :
	@echo -e "Getting zsh config from $$HOME"
	cp ~/.zshrc ./
