summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorZachIR <zachir@librem.one>2025-01-18 23:47:05 -0600
committerZachIR <zachir@librem.one>2025-01-18 23:47:05 -0600
commit82a17b9a41e8dca9feebaa19a925238ffce6ae20 (patch)
treebce76a803d02f2394f6d8449a8bce3466a646334 /Makefile
parentbc1378323719269e011643da8ad46ca6ea93ca32 (diff)
parent461c7af7ef31feb1db7e39762011ca0e54242d76 (diff)
Merge branch 'master' into car
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index e27af0a..898fe9e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,20 +1,26 @@
VIM := $(shell command -v vim 2>/dev/null)
NVIM := $(shell command -v nvim 2>/dev/null)
-ZCONFS := zsh/.zshenv
+ZCONFS := zsh/zshenv zsh/zshrc
+SCONFS := sh/profile
DCONFS := doas.conf
all:
-install: install-zshconfigs vimplug-vim vimplug-nvim
+install: install-zshconfigs install-shconfigs 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
+ @ln -sf `pwd`/zsh/zshenv ~/.zshenv
+ @echo ".zshrc..."
+ @ln -sf `pwd`/zsh/zshrc ~/.zshrc
@echo "Done."
+install-shconfigs: $(SCONFS)
+ @echo "Installing sh conf files..."
+ @echo ".profile..."
+ @ln -sf `pwd`/sh/profile ~/.profile
+
vimplug-vim: installers/vimplug_vim.sh
ifdef VIM
@echo "Installing vim-plug for vim..."