Initial commit
This commit is contained in:
28
makefile
Normal file
28
makefile
Normal file
@@ -0,0 +1,28 @@
|
||||
|
||||
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"
|
||||
@echo -e "ConfigPath=$(NVIM_CONFIG)"
|
||||
|
||||
instal : instal-packages, instal-config
|
||||
|
||||
instal-config :
|
||||
@echo -e "Installing to $(NVIM_CONFIG)"
|
||||
cp ./.zshrc ~/
|
||||
cp ./.bashrc ~/
|
||||
|
||||
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
|
||||
|
||||
code :
|
||||
@echo -e "Getting code from $(NVIM_CONFIG)"
|
||||
cp ~/.zshrc ./
|
||||
cp ~/.bashrc ./
|
||||
Reference in New Issue
Block a user