diff options
author | kylo252 <[email protected]> | 2022-01-03 15:47:58 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-01-03 15:47:58 +0100 |
commit | 21b41688ee8c5056ffbb2b07df141ce1ccb4b213 (patch) | |
tree | 8e960532b36a3b8308dbee59a2c7138b74d64188 /utils/installer/install.sh | |
parent | eefc148313917b1a474ba7bdf44d6d088524074a (diff) |
refactor: use a static lvim binary template (#1444)
Diffstat (limited to 'utils/installer/install.sh')
-rwxr-xr-x | utils/installer/install.sh | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/utils/installer/install.sh b/utils/installer/install.sh index 1987a519..c30f2efe 100755 --- a/utils/installer/install.sh +++ b/utils/installer/install.sh @@ -352,18 +352,7 @@ function link_local_lvim() { } function setup_shim() { - if [ ! -d "$INSTALL_PREFIX/bin" ]; then - mkdir -p "$INSTALL_PREFIX/bin" - fi - cat >"$INSTALL_PREFIX/bin/lvim" <<EOF -#!/bin/sh - -export LUNARVIM_CONFIG_DIR="\${LUNARVIM_CONFIG_DIR:-$LUNARVIM_CONFIG_DIR}" -export LUNARVIM_RUNTIME_DIR="\${LUNARVIM_RUNTIME_DIR:-$LUNARVIM_RUNTIME_DIR}" - -exec nvim -u "\$LUNARVIM_RUNTIME_DIR/lvim/init.lua" "\$@" -EOF - chmod +x "$INSTALL_PREFIX/bin/lvim" + make -C "$LUNARVIM_BASE_DIR" install-bin } function remove_old_cache_files() { |