From 9a156da4cdd31540b0beef42e778171b190ac86c Mon Sep 17 00:00:00 2001 From: Preston Hunt Date: Fri, 28 Aug 2026 12:20:47 -0700 Subject: [PATCH] zsh: point EDITOR at nvim, the editor we actually install setup_nvim runs 'remove_package vim' and installs neovim, so $VISUAL and $EDITOR pointed at a binary that does not exist on a freshly provisioned machine. That also broke the 'hint: ${EDITOR:-nano} $0' message the setup script prints when user_config has not been edited. Update the fasd 'v' alias to match. Co-Authored-By: Claude Opus 5 (1M context) --- prestobuntu.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prestobuntu.zsh b/prestobuntu.zsh index 806ef91..0ecbbaa 100644 --- a/prestobuntu.zsh +++ b/prestobuntu.zsh @@ -1,5 +1,5 @@ export PATH="$HOME/.local/bin:$PATH" -export VISUAL=vim +export VISUAL=nvim export EDITOR=$VISUAL export LS_COLORS="ln=4:di=1;36" # underline links, dirs bright blue export TERM=xterm-256color @@ -13,7 +13,7 @@ test -f ~/.liquidprompt && source "$_" if which fasd &>/dev/null; then eval "$(fasd --init auto)" - alias v='f -e vim' + alias v='f -e nvim' fi # Tab Completions