mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
fish: deduplicate $PATH; update todo.txt startup command; remove notes function
This commit is contained in:
parent
152c5ba57f
commit
f81d02cdf9
2 changed files with 1 additions and 8 deletions
|
|
@ -7,7 +7,6 @@ set -g GOBIN $GOPATH/bin
|
||||||
set -g PATH $GOBIN $PATH
|
set -g PATH $GOBIN $PATH
|
||||||
set -g PATH $HOME/bin $PATH
|
set -g PATH $HOME/bin $PATH
|
||||||
set -g PATH $HOME/.local/bin $PATH
|
set -g PATH $HOME/.local/bin $PATH
|
||||||
set -g PATH $GOBIN $PATH
|
|
||||||
set -g PATH node_modules/.bin $PATH
|
set -g PATH node_modules/.bin $PATH
|
||||||
set -g PATH .bin $PATH
|
set -g PATH .bin $PATH
|
||||||
|
|
||||||
|
|
@ -19,12 +18,11 @@ if status is-interactive
|
||||||
|
|
||||||
function fish_greeting
|
function fish_greeting
|
||||||
if type -q todo.sh
|
if type -q todo.sh
|
||||||
todo.sh
|
todo.sh listpri a
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function fish_user_key_bindings
|
function fish_user_key_bindings
|
||||||
fish_vi_key_bindings
|
fish_vi_key_bindings
|
||||||
bind -M insert -m default jk backward-char force-repaint
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
function notes
|
|
||||||
set pattern $argv[1]
|
|
||||||
|
|
||||||
rg -C 3 $pattern $HOME/org/notes
|
|
||||||
end
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue