summaryrefslogtreecommitdiff
path: root/utils/bin/lvim.template
diff options
context:
space:
mode:
authoropalmay <[email protected]>2023-02-17 12:55:42 +0200
committeropalmay <[email protected]>2023-02-24 17:18:10 +0200
commit70d1b429000b8aab8e72d635a59ab8ed4ed50849 (patch)
treef698b730a08b1f5bc9291dfd02dda042d3b3777a /utils/bin/lvim.template
parenteb62a17081b7164128eb5702925bb7757a22ef8d (diff)
refactor: install_bin
Diffstat (limited to 'utils/bin/lvim.template')
-rw-r--r--utils/bin/lvim.template7
1 files changed, 2 insertions, 5 deletions
diff --git a/utils/bin/lvim.template b/utils/bin/lvim.template
index c17d25be..af094057 100644
--- a/utils/bin/lvim.template
+++ b/utils/bin/lvim.template
@@ -1,9 +1,6 @@
#!/usr/bin/env bash
-export LUNARVIM_RUNTIME_DIR="${LUNARVIM_RUNTIME_DIR:-RUNTIME_DIR_VAR}"
-export LUNARVIM_CONFIG_DIR="${LUNARVIM_CONFIG_DIR:-CONFIG_DIR_VAR}"
-export LUNARVIM_CACHE_DIR="${LUNARVIM_CACHE_DIR:-CACHE_DIR_VAR}"
-
-export LUNARVIM_BASE_DIR="${LUNARVIM_BASE_DIR:-BASE_DIR_VAR}"
+export NVIM_APPNAME="${NVIM_APPNAME:-"NVIM_APPNAME_VAR"}"
+export LUNARVIM_BASE_DIR="XDG_DATA_HOME_VAR/$NVIM_APPNAME"
exec -a lvim nvim -u "$LUNARVIM_BASE_DIR/init.lua" "$@"