summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2022-05-31 21:18:48 -0400
committerlxf <sng@luxagraf.net>2022-05-31 21:18:48 -0400
commite9a9b73726ad6dba80efcc84d50d4c40896d150d (patch)
tree63471227a02e1302c6a39ab59e4990eff18e3949 /.bashrc
parenta52961c7208c9dbbaaa68c07a9d1b26a05eec551 (diff)
brought dotfiles up to date with dell xps arch install
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/.bashrc b/.bashrc
index 71a172c..04aa24f 100644
--- a/.bashrc
+++ b/.bashrc
@@ -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() {