diff options
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -138,11 +138,11 @@ function nvl(){ } #find in "notes" which might be in any of half a dozen folders -function fnt(){ +function fntt(){ find ~/notes ~/documents/bookmarks ~/documents/reading\ notes -type f -maxdepth 2 -print0 | xargs -0 grep -$2i $1 } -function fntt(){ - ${EDITOR:-nvim} "$(rg -l $1 ~/notes/ ~/documents/bookmarks/ ~/documents/reading\ notes/ | fzf --preview="bat {}" --preview-window=right:70%:wrap)"; +function fnt(){ + ${EDITOR:-nvim} "$(rg -l $1 ~/notes/ ~/documents/bookmarks/ ~/documents/reading\ notes/ ~/lux/ | fzf --preview="bat {}" --preview-window=right:70%:wrap)"; } #fuzzy find function f() { |