feat: improved Makefile
This commit is contained in:
22
makefile
22
makefile
@@ -8,21 +8,25 @@ print-help :
|
||||
@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"
|
||||
@echo -e "ConfigPath=$(NVIM_CONFIG)"
|
||||
|
||||
instal : instal-packages, instal-config
|
||||
|
||||
instal-config :
|
||||
@echo -e "Installing to $(NVIM_CONFIG)"
|
||||
cp ./.zshrc ~/
|
||||
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
|
||||
yay -S --needed oh-my-posh #zsh theme provider
|
||||
# yay -S --needed easy-zsh-config #zsh suggestion/command-completion and syntax higlighting
|
||||
|
||||
code :
|
||||
@echo -e "Getting code from $(NVIM_CONFIG)"
|
||||
cp ~/.zshrc ./
|
||||
code-bash :
|
||||
@echo -e "Getting bash config from $$HOME"
|
||||
cp ~/.bashrc ./
|
||||
|
||||
code-zsh :
|
||||
@echo -e "Getting zsh config from $$HOME"
|
||||
cp ~/.zshrc ./
|
||||
|
||||
Reference in New Issue
Block a user