summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2023-09-07 10:51:14 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2023-09-07 10:51:14 +0200
commit64ab2f07d22a2f5a1b180c5e70e24458566d79c0 (patch)
treead450601875d71b5bc2d5d9b0e84a911d43c4329 /install
parent05de349c8216c8ebd276a2592870b9cc2f92a78e (diff)
downloadvim-64ab2f07d22a2f5a1b180c5e70e24458566d79c0.zip
vim-64ab2f07d22a2f5a1b180c5e70e24458566d79c0.tar.gz
install clean ~/.local/share/nvim/ too
Diffstat (limited to 'install')
-rwxr-xr-xinstall9
1 files changed, 6 insertions, 3 deletions
diff --git a/install b/install
index f6b1f06..efc79c0 100755
--- a/install
+++ b/install
@@ -1,5 +1,8 @@
#! /bin/bash
-D=~/.config/nvim
-rm -fr "$D" 2>/dev/null
-mkdir "$D" && cd "$D" && ln -s ~/usr/git/vim/init.lua && ln -s ~/usr/git/vim/lua
+CFG_D=~/.config/nvim
+LOCAL_D=~/.local/share/nvim/
+
+rm -fr "$LOCAL_D"
+rm -fr "$CFG_D"
+mkdir "$CFG_D" && cd "$CFG_D" && ln -s ~/usr/git/vim/init.lua && ln -s ~/usr/git/vim/lua