support tmux
This commit is contained in:
17
Makefile
17
Makefile
@@ -12,4 +12,19 @@ update-zsh:
|
|||||||
if [ -f "$$HOME/$$base" ]; then \
|
if [ -f "$$HOME/$$base" ]; then \
|
||||||
cp -v "$$HOME/$$base" "$$file"; \
|
cp -v "$$HOME/$$base" "$$file"; \
|
||||||
fi \
|
fi \
|
||||||
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:
|
||||||
|
@for file in tmux/.[!.]*; do \
|
||||||
|
file=$${file#tmux/}; \
|
||||||
|
[ -f "$$HOME/$$file" ] && mv "$$HOME/$$file" "$$HOME/$$file.bak"; \
|
||||||
|
done && cp -r tmux/.[!.]* ~/ && echo "tmux files copied to home directory" || echo "tmux files not copied to home directory"
|
||||||
|
|
||||||
|
update-tmux:
|
||||||
|
@if [ -f "$$HOME/.tmux.conf" ]; then \
|
||||||
|
cp "$$HOME/.tmux.conf" tmux/.tmux.conf; \
|
||||||
|
fi
|
||||||
|
@if [ -d "$$HOME/.tmux" ]; then \
|
||||||
|
cp -r $$HOME/.tmux/* tmux/.tmux/; \
|
||||||
|
fi
|
||||||
|
@echo "tmux files updated from home directory"
|
||||||
9
tmux/.tmux.conf
Normal file
9
tmux/.tmux.conf
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||||
|
|
||||||
|
run ~/git-repos/dracula-tmux/dracula.tmux
|
||||||
|
|
||||||
|
set -g @dracula-plugins "git"
|
||||||
|
|
||||||
|
run '~/.tmux/plugins/tpm/tpm'
|
||||||
|
|
||||||
1
tmux/.tmux/plugins/tpm
Submodule
1
tmux/.tmux/plugins/tpm
Submodule
Submodule tmux/.tmux/plugins/tpm added at 99469c4a9b
1
tmux/.tmux/tpm
Submodule
1
tmux/.tmux/tpm
Submodule
Submodule tmux/.tmux/tpm added at 99469c4a9b
Reference in New Issue
Block a user