summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2022-12-12 10:28:32 -0600
committerluxagraf <sng@luxagraf.net>2022-12-12 10:28:32 -0600
commit93830da481aa5c85799767d6617f5a0e88392fca (patch)
tree67b123dc3032b20afcf3bcc4b0448d901077f0f1 /.bashrc
parentf181bfe1db0bee1b30f1a33c733336807feed28e (diff)
dell: brought X11 setup up to par with swaydell
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc10
1 files changed, 3 insertions, 7 deletions
diff --git a/.bashrc b/.bashrc
index 7dbc903..2041337 100644
--- a/.bashrc
+++ b/.bashrc
@@ -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
}