summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorZachIR <zachir@librem.one>2025-01-18 23:39:25 -0600
committerZachIR <zachir@librem.one>2025-01-18 23:45:39 -0600
commit44fbfc95f779e5d6bbdaaf250ada4dfcdae5cb2a (patch)
treee2fb9b34f28d7833213f90efcae7f81e5ccb2cf2 /Makefile
parent2b9df77bbc5fa85f94b15b043c659168a606d1db (diff)
Cleanup zsh configs + add zplug
Just a couple plugins for syntax highlighting and history searching, removing a bunch of old unused files, and changing to just accept the standard of using dotfiles in the home directory.
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..."