diff options
author | luxagraf <sng@luxagraf.net> | 2024-10-16 09:50:22 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2024-10-16 09:50:22 -0500 |
commit | 5bbe6a566b85ad838a31ea8ee0d120bbeb460a1e (patch) | |
tree | 74222e47e408937dbe93640c956378f6c1d7002a /.bashrc | |
parent | d2e87e2d9f8ee2fd014087dafdc8c7cbd229a088 (diff) |
added jrnl shortcuts
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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() { |