mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +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
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