backup neovim
This commit is contained in:
14
Makefile
14
Makefile
@@ -1,4 +1,4 @@
|
||||
.PHONY: zsh update-zsh tmux update-tmux
|
||||
.PHONY: zsh update-zsh tmux update-tmux nvim update-nvim
|
||||
|
||||
zsh:
|
||||
@for file in zsh/.[!.]*; do \
|
||||
@@ -27,4 +27,14 @@ update-tmux:
|
||||
@if [ -f "$$HOME/.tmux.conf" ]; then \
|
||||
cp "$$HOME/.tmux.conf" tmux/.tmux.conf; \
|
||||
fi
|
||||
@echo "tmux files updated from home directory"
|
||||
@echo "tmux files updated from home directory"
|
||||
|
||||
nvim:
|
||||
@mkdir -p "$$HOME/.config/nvim" && \
|
||||
mv -f neovim/* "$$HOME/.config/nvim/" && \
|
||||
echo "All files and folders from neovim have been moved to ~/.config/nvim"
|
||||
|
||||
update-nvim:
|
||||
@mkdir -p neovim && \
|
||||
cp -a "$$HOME/.config/nvim/." neovim/ && \
|
||||
echo "All files and folders from ~/.config/nvim have been backed up to neovim/"
|
||||
Reference in New Issue
Block a user