mirror of
https://github.com/RyanGreenup/cadmus.git
synced 2025-08-09 15:47:12 +02:00
Restored Ripgrep hl to search, changed ~ to $HOME
This commit is contained in:
@@ -125,7 +125,11 @@ NoteSearchRecoll () {
|
|||||||
--color=always --line-range :500 \
|
--color=always --line-range :500 \
|
||||||
--terminal-width 80 \
|
--terminal-width 80 \
|
||||||
--theme=TwoDark |\
|
--theme=TwoDark |\
|
||||||
ag {cq} \
|
rg --pretty --colors --context 20 {cq} \
|
||||||
|
--no-line-number --ignore-case \
|
||||||
|
--colors 'match:fg:21,39,200' \
|
||||||
|
--colors 'line:style:nobold' \
|
||||||
|
--colors 'match:style:bold' \
|
||||||
--colors 'match:bg:30,200,30'" \
|
--colors 'match:bg:30,200,30'" \
|
||||||
--color=fg:#f8f8f2,bg:-1,matched:#6272a4,current_fg:#50fa7b,current_bg:#381070,border:#ff79c6,prompt:#bd93f9,query:#bd93f9,marker:#f1fa8c,header:#f1fa8c
|
--color=fg:#f8f8f2,bg:-1,matched:#6272a4,current_fg:#50fa7b,current_bg:#381070,border:#ff79c6,prompt:#bd93f9,query:#bd93f9,marker:#f1fa8c,header:#f1fa8c
|
||||||
}
|
}
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#! /usr/bin/env bash
|
#! /usr/bin/env bash
|
||||||
readonly NOTES_DIR="~/Notes/MD/notes" ## TODO Global Variables are bad
|
readonly NOTES_DIR="$HOME/Notes/MD/notes" ## TODO Global Variables are bad
|
||||||
readonly RECOLL_CONFIG_DIR="$HOME/.cadmus"
|
readonly RECOLL_CONFIG_DIR="$HOME/.cadmus"
|
||||||
# Author: Ryan Greenup <ryan.greenup@protonmail.com>
|
# Author: Ryan Greenup <ryan.greenup@protonmail.com>
|
||||||
# abort on nonzero exitstatus
|
# abort on nonzero exitstatus
|
||||||
|
Reference in New Issue
Block a user