diff options
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -1,7 +1,6 @@ #basics stty -ixon export MOZ_DBUS_REMOTE=1 -#alias vivaldi-snapshot="vivaldi-snapshot --use-gl=egl" export BROWSER="vivaldi-snapshot" export EDITOR="vim" # keep dictionaries in ~/bin/ @@ -128,11 +127,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() { @@ -153,9 +152,6 @@ function tolux() { scp $3 $1 lxf:/home/lxf/$2 } -function todis() { - scp $3 $1 dis:/home/lxf/$2 -} function frlux() { scp $3 lxf:/home/lxf/$1 $2 } |