refactor(zsh): remove neovide as $EDITOR

This commit is contained in:
Price Hiller 2024-05-10 02:40:24 -05:00
parent c527b73d2c
commit b8ae03b3af
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -112,11 +112,7 @@ fi
local new_editor
local new_visual
local new_manpager
if [[ -n "${XDG_CURRENT_DESKTOP}" ]] && command -v neovide >/dev/null 2>&1; then
new_editor="neovide --no-fork"
new_visual="neovide --no-fork"
new_manpager="${XDG_CONFIG_HOME}/zsh/config/profile/profile/manpager_wrapper_func.bash"
elif command -v nvim >/dev/null 2>&1; then
if command -v nvim >/dev/null 2>&1; then
new_editor=nvim
new_visual=nvim
new_manpager="nvim +Man!"
@ -177,4 +173,4 @@ export POWERSHELL_TELEMETRY_OPTOUT=true
### NPM ###
export NPM_CONFIG_PREFIX="${HOME}/.npm-global"
export PATH="${PATH}:${NPM_CONFIG_PREFIX}/bin"
export PATH="${PATH}:${NPM_CONFIG_PREFIX}/bin"