Link bashrc
This commit is contained in:
parent
cbdbad50bb
commit
82cefb12dd
5
Makefile
5
Makefile
|
@ -24,7 +24,7 @@ all: link install
|
|||
|
||||
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:
|
||||
for link in $(CONFIG_TARGETS); do rm "$$link"; done
|
||||
|
@ -40,7 +40,8 @@ uninstall:
|
|||
$(CONFIG_TARGETS): $(CONFIG_DIR)/%: config/%
|
||||
$(SSH_TARGETS): $(SSH_DIR)/%: ssh/%
|
||||
$(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 $@)
|
||||
|
||||
$(LAZY_DIR):
|
||||
|
|
Loading…
Reference in a new issue