From 9a3f49866a63a1f45137693b73dabd1b27d657f3 Mon Sep 17 00:00:00 2001 From: Linkarzu Date: Mon, 23 Dec 2024 05:56:38 -0600 Subject: [PATCH] fixed "export NVIM_APPNAME" to "NVIM_APPNAME" --- _posts/neovim/2024-07-09-lazyvim-vs-kickstart.md | 12 ++++++------ _posts/neovim/2024-12-12-multiple-distros.md | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/_posts/neovim/2024-07-09-lazyvim-vs-kickstart.md b/_posts/neovim/2024-07-09-lazyvim-vs-kickstart.md index 0296994..398b070 100755 --- a/_posts/neovim/2024-07-09-lazyvim-vs-kickstart.md +++ b/_posts/neovim/2024-07-09-lazyvim-vs-kickstart.md @@ -234,7 +234,7 @@ which nvim ```bash ❯❯❯❯ which nvim -nvim: aliased to export NVIM_APPNAME="nvim" && /opt/homebrew/bin/nvim +nvim: aliased to NVIM_APPNAME=nvim /opt/homebrew/bin/nvim ``` - If you have your command aliased, every time you see `nvim` below in the @@ -242,10 +242,10 @@ nvim: aliased to export NVIM_APPNAME="nvim" && /opt/homebrew/bin/nvim ```bash # instead of this: -alias v='export NVIM_APPNAME="neobean" && nvim' +alias v='NVIM_APPNAME=neobean nvim' # You would run this: -alias v='export NVIM_APPNAME="neobean" && /opt/homebrew/bin/nvim' +alias v='NVIM_APPNAME=neobean /opt/homebrew/bin/nvim' ``` --- @@ -297,9 +297,9 @@ ln -snf $my_working_directory/neovim/neobean/ ~/.config/nvim >/dev/null 2>&1 # # Notice that both "v" and "nvim" start "neobean" # "vk" opens kickstart and "vl" opens lazyvim -alias v='export NVIM_APPNAME="neobean" && nvim' -alias vk='export NVIM_APPNAME="kickstart.nvim" && nvim' -alias vl='export NVIM_APPNAME="lazyvim" && nvim' +alias v='NVIM_APPNAME=neobean nvim' +alias vk='NVIM_APPNAME=kickstart.nvim nvim' +alias vl='NVIM_APPNAME=lazyvim nvim' ``` - Save the changes with `:wq` and then apply them with diff --git a/_posts/neovim/2024-12-12-multiple-distros.md b/_posts/neovim/2024-12-12-multiple-distros.md index 5d03760..706188b 100755 --- a/_posts/neovim/2024-12-12-multiple-distros.md +++ b/_posts/neovim/2024-12-12-multiple-distros.md @@ -195,7 +195,7 @@ which nvim ```bash ❯❯❯❯ which nvim -nvim: aliased to export NVIM_APPNAME="nvim" && /opt/homebrew/bin/nvim +nvim: aliased to NVIM_APPNAME=nvim /opt/homebrew/bin/nvim ``` - If you have your command aliased, every time you see `nvim` below in the