all repos

dotfiles @ 2b86db67c32bd65b961b6ab27b3896bc051e1df2

my dotfiles
2 files changed, 11 insertions(+), 9 deletions(-)
fish: move fish_greeting to sep function, set $EDITOR only when vim is found
Author: Olexandr Smirnov olexsmir@gmail.com
Committed at: 2025-07-23 23:45:53 +0300
Parent: 7bea68f
M config/fish/config.fish

@@ -1,6 +1,3 @@

-set -gx EDITOR nvim -set -gx VISUAL nvim - set -g GOPATH $HOME/go set -g GOBIN $GOPATH/bin

@@ -10,17 +7,17 @@ set -g PATH $HOME/.local/bin $PATH

set -g PATH node_modules/.bin $PATH set -g PATH .bin $PATH + +if type -q nvim + set -gx EDITOR nvim + set -gx VISUAL nvim +end + if status is-interactive starship init fish | source zoxide init fish | source mise activate fish | source direnv hook fish | source - - function fish_greeting - if type -q todo.sh - TODOTXT_VERBOSE=0 todo.sh listpri a - end - end function fish_user_key_bindings fish_vi_key_bindings
A config/fish/functions/fish_greeting.fish

@@ -0,0 +1,5 @@

+function fish_greeting + if type -q todo.sh + TODOTXT_VERBOSE=0 todo.sh listpri a + end +end