summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2024-10-16 09:50:22 -0500
committerluxagraf <sng@luxagraf.net>2024-10-16 09:50:22 -0500
commit5bbe6a566b85ad838a31ea8ee0d120bbeb460a1e (patch)
tree74222e47e408937dbe93640c956378f6c1d7002a /.bashrc
parentd2e87e2d9f8ee2fd014087dafdc8c7cbd229a088 (diff)
added jrnl shortcuts
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc5
1 files changed, 1 insertions, 4 deletions
diff --git a/.bashrc b/.bashrc
index 576c9e9..acc8235 100644
--- a/.bashrc
+++ b/.bashrc
@@ -7,6 +7,7 @@ export EDITOR="vim"
# keep dictionaries in ~/bin/
export STARDICT_DATA_DIR="$HOME/bin/dict/"
export NOTES_DIR="$HOME/notes"
+export NOTES="$HOME/notes/inbox.txt"
export TERM="screen-256color"
export GREP_COLOR='mt=00;38;5;166'
export CM_HISTLENGTH=50
@@ -147,10 +148,6 @@ function f() {
${EDITOR:-vim} "$(rg -l $1 ${2:-.} | fzf --preview="bat {}" --preview-window=right:70%:wrap)";
}
-function fg(){
- ${EDITOR:-vim} "$(grep -nr $1 ${2:-.} | fzf --preview="bat {}" --preview-window=right:70%:wrap)";
-}
-
#fuzzy find file names only
function ff() {