Files
shell-config/makefile
2025-12-08 21:56:28 +01:00

33 lines
917 B
Makefile

default : print-help
help : print-help
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 code' to get configuration-code from your config to this project"
instal : instal-packages, instal-config
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 ./