summaryrefslogtreecommitdiff
path: root/utils/bin
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2021-08-23 17:18:42 +0200
committerGitHub <[email protected]>2021-08-23 17:18:42 +0200
commit101c6834333ffb06856155054ea77747819ef5fc (patch)
tree342d5eab5e58e97c7b71bb2d56bb68d5aa3ab2da /utils/bin
parentcc166d05039ac0dda71c4d17f2378f9c5bf2b4eb (diff)
[Refactor] Installer v2 with support for backup (#1052)
Diffstat (limited to 'utils/bin')
-rw-r--r--[-rwxr-xr-x]utils/bin/lvim5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/bin/lvim b/utils/bin/lvim
index c55ddda7..2303be3c 100755..100644
--- a/utils/bin/lvim
+++ b/utils/bin/lvim
@@ -1,5 +1,6 @@
#!/bin/sh
-LUNARVIM_RUNTIME_DIR=${LUNARVIM_RUNTIME_DIR:-"$HOME/.local/share/lunarvim"}
+export LUNARVIM_RUNTIME_DIR="${LUNARVIM_RUNTIME_DIR:-$HOME/.local/share/lunarvim}"
+export LUNARVIM_CONFIG_DIR="${LUNARVIM_RUNTIME_DIR:-$HOME/.config/lvim}"
-exec nvim -u "$LUNARVIM_RUNTIME_DIR"/lvim/init.lua "$@"
+exec nvim -u "$LUNARVIM_RUNTIME_DIR/lvim/init.lua" "$@"