Skip to content

Commit

Permalink
fixed "export NVIM_APPNAME" to "NVIM_APPNAME"
Browse files Browse the repository at this point in the history
  • Loading branch information
linkarzu committed Dec 23, 2024
1 parent 3ab29a9 commit 9a3f498
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions _posts/neovim/2024-07-09-lazyvim-vs-kickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,18 +234,18 @@ 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
guide, you will probably have to run nvim using the full path as seen below

```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'
```

---
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion _posts/neovim/2024-12-12-multiple-distros.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9a3f498

Please sign in to comment.