aboutsummaryrefslogtreecommitdiff
path: root/sync.sh
diff options
context:
space:
mode:
authorAleksa Vučković <aleksav013@gmail.com>2022-01-05 15:35:38 +0100
committerAleksa Vučković <aleksav013@gmail.com>2022-01-05 15:35:38 +0100
commit6c1c6ba2f5b45c0c3ba178ee34a9992ce23b7180 (patch)
tree48fad4a844d874303149f829db4a062634b10f79 /sync.sh
parent2a5f4d72d21d495408a52a2cad271b1e5775967b (diff)
ccls working as intended
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