From 029279019cba916feca106972d41dc49586ddc71 Mon Sep 17 00:00:00 2001 From: opalmay Date: Fri, 17 Feb 2023 14:05:30 +0200 Subject: feat: lvim script name follows $NVIM_APPNAME --- utils/installer/install.sh | 4 ++-- utils/installer/install_bin.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/installer/install.sh b/utils/installer/install.sh index 668c76ca..24ce8cc3 100755 --- a/utils/installer/install.sh +++ b/utils/installer/install.sh @@ -166,7 +166,7 @@ function main() { msg "$ADDITIONAL_WARNINGS" msg "Thank you for installing LunarVim!!" - echo "You can start it by running: $HOME/.local/bin/lvim" + echo "You can start it by running: $HOME/.local/bin/$NVIM_APPNAME" echo "Do not forget to use a font with glyphs (icons) support [https://github.com/ryanoasis/nerd-fonts]" } @@ -437,7 +437,7 @@ function setup_lvim() { echo "Preparing Lazy setup" - "$HOME/.local/bin/lvim" --headless -c 'quitall' + "$HOME/.local/bin/$NVIM_APPNAME" --headless -c 'quitall' echo "Lazy setup complete" diff --git a/utils/installer/install_bin.sh b/utils/installer/install_bin.sh index 0b91ccbc..fa02579c 100755 --- a/utils/installer/install_bin.sh +++ b/utils/installer/install_bin.sh @@ -9,7 +9,7 @@ LUNARVIM_BASE_DIR="$LUNARVIM_DATA_DIR/core" function setup_shim() { local src="$LUNARVIM_BASE_DIR/utils/bin/lvim.template" - local dst="$HOME/.local/bin/lvim" + local dst="$HOME/.local/bin/$NVIM_APPNAME" [ ! -d "$HOME/.local/bin" ] && mkdir -p "$HOME/.local/bin" @@ -27,4 +27,4 @@ function setup_shim() { setup_shim "$@" -echo "You can start LunarVim by running: $HOME/.local/bin/lvim" +echo "You can start LunarVim by running: $HOME/.local/bin/$NVIM_APPNAME" -- cgit v1.2.3