From a43099f3a5c15d25bbd239ad6029c27bbdc4710f Mon Sep 17 00:00:00 2001 From: NiseVoid Date: Fri, 15 May 2020 16:17:47 +0200 Subject: [PATCH] Fix infinite symlink in nvim --- install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 8e37524..ec6bf8d 100755 --- a/install.sh +++ b/install.sh @@ -5,7 +5,9 @@ ln -s ~/.LinuxConfig/profile ~/.profile ln -s ~/.LinuxConfig/kshrc ~/.kshrc -ln -s ~/.LinuxConfig/nvim ~/.config/nvim +if [ ! -e ~/.config/nvim ]; then + ln -s ~/.LinuxConfig/nvim ~/.config/nvim +fi mkdir ~/.config/mpv ln -s ~/.LinuxConfig/mpv.conf ~/.config/mpv/