summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-07-11 09:42:53 -0500
committerzachir <zachir@librem.one>2024-07-11 09:42:53 -0500
commitd0c37b0eb7f2e3343aa504a4fe4c4c38692293bc (patch)
tree4b545786b4073e538a9befed42d13c767f24b671 /Makefile
parentf995945828966933168d9bffebab4f384a1855f4 (diff)
parentf2956712c043c592e1c52eedbd4a901e8bb7423f (diff)
Merge branch 'master' of zachir.xyz:zachir/dotfiles
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 3 insertions, 15 deletions
diff --git a/Makefile b/Makefile
index 0faf846..e27af0a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,28 +1,16 @@
VIM := $(shell command -v vim 2>/dev/null)
NVIM := $(shell command -v nvim 2>/dev/null)
-XCONFS := X11/Xresources
ZCONFS := zsh/.zshenv
-SCONFS := sh/profile
DCONFS := doas.conf
all:
-install: install-xconfigs install-shconfigs install-zshconfigs vimplug-vim vimplug-nvim
-
-install-xconfigs: $(XCONFS)
- @echo "Installing Xorg conf files..."
- @echo "Xresources..."
- @ln -sf `pwd`/X11/Xresources ~/.Xresources
- @echo "Done."
-
-install-shconfigs: $(SCONFS)
- @echo "Installing SH conf files..."
- @echo ".profile..."
- @ln -sf `pwd`/sh/profile ~/.profile
- @echo "Done."
+install: install-zshconfigs vimplug-vim vimplug-nvim
install-zshconfigs: $(ZCONFS)
@echo "Installing zsh conf files..."
+ @echo "Setting ZSHDOTDIR globally..."
+ @$(shell sudo installers/set_zshdirs.sh)
@echo ".zshenv..."
@ln -sf `pwd`/zsh/.zshenv ~/.zshenv
@echo "Done."