aboutsummaryrefslogtreecommitdiff
path: root/sync.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sync.sh')
-rwxr-xr-xsync.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/sync.sh b/sync.sh
index 1ad25aa..5507b54 100755
--- a/sync.sh
+++ b/sync.sh
@@ -1,8 +1,9 @@
#!/bin/bash
-NVIM_DIR=~/.config/nvim
+NVIM_DIR=
+
+rm -rf ~/.config/nvim
+mkdir -p ~/.config/nvim
+stow --no-folding --ignore="LICENCE|README.md|sync.sh" -t ~/.config/nvim .
-rm -r $NVIM_DIR
-mkdir -p $NVIM_DIR
-stow --no-folding --ignore="LICENCE|README.md|sync.sh" -t $NVIM_DIR .
rm -rf ~/.local/share/nvim