all repos

dotfiles @ 89a9bce317684d986d52f83836c84100e3f4aa82

i use rach linux btw
2 files changed, 6 insertions(+), 1 deletions(-)
fish: add function to grep my notes, update PATH
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2025-03-15 14:49:54 +0200
Parent: 32bde7d
M config/fish/config.fish
···
        6
        6
         

      
        7
        7
         set -g PATH $HOME/bin $PATH

      
        8
        8
         set -g PATH $HOME/.local/bin $PATH

      
        9
        
        -set -g PATH $HOME/go/bin $PATH

      
        
        9
        +set -g PATH $GOBIN $PATH

      
        10
        10
         set -g PATH node_modules/.bin $PATH

      
        11
        11
         set -g PATH .bin $PATH

      
        12
        12
         

      
A config/fish/functions/notes.fish
···
        
        1
        +function notes

      
        
        2
        +  set pattern $argv[1]

      
        
        3
        +

      
        
        4
        +  rg -C 3 $pattern $HOME/org/notes

      
        
        5
        +end