Update deploy/update to properly clean up .config folder
This commit is contained in:
parent
c05ba0c398
commit
b9984121c8
@ -1,9 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo "Syncing user with nvim..."
|
echo "Syncing user with nvim..."
|
||||||
rsync --recursive $(dirname "$0")/nvim/ ~/.config/nvim
|
rsync --deploy --recursive $(dirname "$0")/nvim/ ~/.config/nvim
|
||||||
|
|
||||||
echo "Syncing user with tmux..."
|
echo "Syncing user with tmux..."
|
||||||
echo " Note: prefix + I for tmux setup"
|
echo " Note: prefix + I for tmux setup"
|
||||||
mkdir -p ~/tmux
|
mkdir -p ~/tmux
|
||||||
rsync --recursive $(dirname "$0")/tmux/tmux.conf ~/.config/tmux/tmux.conf
|
rsync --recursive $(dirname "$0")/tmux/tmux.conf ~/.config/tmux/tmux.conf
|
||||||
|
|
||||||
echo "Syncing complete!"
|
echo "Syncing complete!"
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo "Syncing dotfiles with nvim..."
|
echo "Syncing dotfiles with nvim..."
|
||||||
rsync --recursive ~/.config/nvim $(dirname "$0")
|
rsync --delete --recursive ~/.config/nvim $(dirname "$0")
|
||||||
|
|
||||||
echo "Syncing dotfiles with tmux..."
|
echo "Syncing dotfiles with tmux..."
|
||||||
rsync ~/.config/tmux/tmux.conf $(dirname "$0")/tmux/tmux.conf
|
rsync ~/.config/tmux/tmux.conf $(dirname "$0")/tmux/tmux.conf
|
||||||
|
|
||||||
|
echo "Syncing complete!"
|
||||||
|
Loading…
Reference in New Issue
Block a user