Link bashrc

This commit is contained in:
Evie Litherland-Smith 2023-03-01 17:18:35 +00:00
parent cbdbad50bb
commit 82cefb12dd

View file

@ -24,7 +24,7 @@ all: link install
clean: unlink uninstall clean: unlink uninstall
link: $(CONFIG_TARGETS) $(SSH_TARGETS) $(THEMES_TARGETS) $(HOME)/.ssh/sockets link: $(CONFIG_TARGETS) $(SSH_TARGETS) $(THEMES_TARGETS) $(HOME)/.bashrc $(HOME)/.ssh/sockets
unlink: unlink:
for link in $(CONFIG_TARGETS); do rm "$$link"; done for link in $(CONFIG_TARGETS); do rm "$$link"; done
@ -40,7 +40,8 @@ uninstall:
$(CONFIG_TARGETS): $(CONFIG_DIR)/%: config/% $(CONFIG_TARGETS): $(CONFIG_DIR)/%: config/%
$(SSH_TARGETS): $(SSH_DIR)/%: ssh/% $(SSH_TARGETS): $(SSH_DIR)/%: ssh/%
$(THEMES_TARGETS): $(THEMES_DIR)/%: themes/% $(THEMES_TARGETS): $(THEMES_DIR)/%: themes/%
$(CONFIG_TARGETS) $(SSH_TARGETS) $(THEMES_TARGETS): $(HOME)/.bashrc: $(HOME)/%: %
$(CONFIG_TARGETS) $(SSH_TARGETS) $(THEMES_TARGETS) $(HOME)/.bashrc:
ln -s $(PWD)/$? -t $$(dirname $@) ln -s $(PWD)/$? -t $$(dirname $@)
$(LAZY_DIR): $(LAZY_DIR):