diff options
author | opalmay <[email protected]> | 2023-02-17 14:05:30 +0200 |
---|---|---|
committer | opalmay <[email protected]> | 2023-02-24 17:18:10 +0200 |
commit | 029279019cba916feca106972d41dc49586ddc71 (patch) | |
tree | 2d3d89047cc83f1e67c4f13c03447999216957b2 | |
parent | 5ca6a2b63a472bb79e6ea8f365196a0a47512044 (diff) |
feat: lvim script name follows $NVIM_APPNAME
-rwxr-xr-x | utils/installer/install.sh | 4 | ||||
-rwxr-xr-x | 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" |