mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 00:40:44 +02:00
fish: add function to grep my notes, update PATH
This commit is contained in:
parent
32bde7d519
commit
89a9bce317
2 changed files with 6 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ set -g GOBIN $GOPATH/bin
|
|||
|
||||
set -g PATH $HOME/bin $PATH
|
||||
set -g PATH $HOME/.local/bin $PATH
|
||||
set -g PATH $HOME/go/bin $PATH
|
||||
set -g PATH $GOBIN $PATH
|
||||
set -g PATH node_modules/.bin $PATH
|
||||
set -g PATH .bin $PATH
|
||||
|
||||
|
|
|
|||
5
config/fish/functions/notes.fish
Executable file
5
config/fish/functions/notes.fish
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
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