update make file
This commit is contained in:
13
Makefile
13
Makefile
@@ -1,4 +1,4 @@
|
|||||||
.PHONY: zsh
|
.PHONY: zsh update-zsh tmux update-tmux
|
||||||
|
|
||||||
zsh:
|
zsh:
|
||||||
@for file in zsh/.[!.]*; do \
|
@for file in zsh/.[!.]*; do \
|
||||||
@@ -15,10 +15,13 @@ update-zsh:
|
|||||||
done && echo "zsh files updated from home directory" || echo "zsh files not updated from home directory"
|
done && echo "zsh files updated from home directory" || echo "zsh files not updated from home directory"
|
||||||
|
|
||||||
tmux:
|
tmux:
|
||||||
@for file in tmux/.[!.]*; do \
|
@if [ -f "$$HOME/.tmux.conf" ]; then \
|
||||||
file=$${file#tmux/}; \
|
mv "$$HOME/.tmux.conf" "$$HOME/.tmux.conf.bak"; \
|
||||||
[ -f "$$HOME/$$file" ] && mv "$$HOME/$$file" "$$HOME/$$file.bak"; \
|
cp tmux/.tmux.conf "$$HOME/.tmux.conf"; \
|
||||||
done && cp -r tmux/.[!.]* ~/ && echo "tmux files copied to home directory" || echo "tmux files not copied to home directory"
|
echo ".tmux.conf copied to home directory"; \
|
||||||
|
else \
|
||||||
|
echo ".tmux.conf not found in home directory"; \
|
||||||
|
fi
|
||||||
|
|
||||||
update-tmux:
|
update-tmux:
|
||||||
@if [ -f "$$HOME/.tmux.conf" ]; then \
|
@if [ -f "$$HOME/.tmux.conf" ]; then \
|
||||||
|
|||||||
Submodule tmux/.tmux/plugins/catppuccin-tmux deleted from b4e0715356
Submodule tmux/.tmux/plugins/tmux deleted from 0e568d1d7b
Submodule tmux/.tmux/plugins/tmux-continuum deleted from 0698e8f4b1
Submodule tmux/.tmux/plugins/tmux-powerline deleted from a14267b48f
Submodule tmux/.tmux/plugins/tmux-resurrect deleted from cff343cf9e
Submodule tmux/.tmux/plugins/tmux-sensible deleted from 25cb91f42d
Submodule tmux/.tmux/plugins/tmux-weather deleted from 829b703195
Submodule tmux/.tmux/plugins/tmux-wttr deleted from f77ec66834
Submodule tmux/.tmux/plugins/tmux-yank deleted from acfd36e4fc
Submodule tmux/.tmux/plugins/tpm deleted from 99469c4a9b
Submodule tmux/.tmux/plugins/vim-tmux-navigator deleted from 412c474e97
Submodule tmux/.tmux/tpm deleted from 99469c4a9b
Reference in New Issue
Block a user