From f81d02cdf9cab861bca4c741c70e4ecefd64cd25 Mon Sep 17 00:00:00 2001 From: Olexandr Smirnov Date: Sun, 13 Jul 2025 13:23:19 +0300 Subject: [PATCH] fish: deduplicate $PATH; update todo.txt startup command; remove notes function --- config/fish/config.fish | 4 +--- config/fish/functions/notes.fish | 5 ----- 2 files changed, 1 insertion(+), 8 deletions(-) delete mode 100755 config/fish/functions/notes.fish diff --git a/config/fish/config.fish b/config/fish/config.fish index fb99c38..973a1c2 100644 --- a/config/fish/config.fish +++ b/config/fish/config.fish @@ -7,7 +7,6 @@ set -g GOBIN $GOPATH/bin set -g PATH $GOBIN $PATH set -g PATH $HOME/bin $PATH set -g PATH $HOME/.local/bin $PATH -set -g PATH $GOBIN $PATH set -g PATH node_modules/.bin $PATH set -g PATH .bin $PATH @@ -19,12 +18,11 @@ if status is-interactive function fish_greeting if type -q todo.sh - todo.sh + todo.sh listpri a end end function fish_user_key_bindings fish_vi_key_bindings - bind -M insert -m default jk backward-char force-repaint end end diff --git a/config/fish/functions/notes.fish b/config/fish/functions/notes.fish deleted file mode 100755 index beca9ed..0000000 --- a/config/fish/functions/notes.fish +++ /dev/null @@ -1,5 +0,0 @@ -function notes - set pattern $argv[1] - - rg -C 3 $pattern $HOME/org/notes -end