From 5f6057da2f4e05638f1a22e861ec0abeb0b22546 Mon Sep 17 00:00:00 2001 From: Christoffer Martinsson Date: Mon, 29 May 2023 19:20:00 +0200 Subject: [PATCH] Fixed bad ln --- update.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 57ca601..0af402c 100755 --- a/update.sh +++ b/update.sh @@ -100,7 +100,8 @@ ln -sf ~/code_server/tmux.conf ~/.tmux.conf && \ ln -sf ~/code_server/clang-format ~/.clang-format && \ # Symlink nvim user folder -ln -sf ~/code_server/config/nvim/lua/user ~/.config/nvim/lua/user && \ +if [ -L ~/.config/nvim/lua/user ]; then rm ~/.config/nvim/lua/user; fi && \ +ln -s ~/code_server/config/nvim/lua/user ~/.config/nvim/lua/user && \ # Symlink lazygit config ln -sf ~/code_server/config/lazygit/config.yml ~/.config/lazygit/config.yml && \