chore(fish): prefer neovim for editor commands

This commit is contained in:
2026-07-21 13:42:48 +02:00
parent 678ea8228d
commit 53ed911c70
+8 -3
View File
@@ -1,9 +1,16 @@
starship init fish | source
set fish_greeting ""
# Prefer Neovim for both explicit and editor-variable invocations.
alias vim nvim
set -gx EDITOR nvim
set -gx VISUAL nvim
# pyenv setup
while set pyenv_index (contains -i -- "/home/alex/.pyenv/shims" $PATH)
set -eg PATH[$pyenv_index]; end; set -e pyenv_index
set -eg PATH[$pyenv_index]
end
set -e pyenv_index
set -gx PATH '/home/alex/.pyenv/shims' $PATH
set -gx PYENV_SHELL fish
command pyenv rehash 2>/dev/null
@@ -19,8 +26,6 @@ function pyenv
end
end
# bun
set --export BUN_INSTALL "$HOME/.bun"
set --export PATH $BUN_INSTALL/bin $PATH