forked from pub-solar/os
notes: fix overlooked usage of ack
This commit is contained in:
parent
a164d2e0b5
commit
7de8e4d572
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ self: with self; ''
|
|||
cd $NOTESDIR || exit
|
||||
file="$(
|
||||
FZF_DEFAULT_COMMAND="$ACK_PREFIX '$1'" \
|
||||
${fzf}/bin/fzf --sort --preview="[[ ! -z {} ]] && ack --colour --context 5 {q} {}" \
|
||||
${fzf}/bin/fzf --sort --preview="[[ ! -z {} ]] && ${ripgrep}/bin/rg --context 5 {q} {}" \
|
||||
--phony -q "$1" \
|
||||
--bind "change:reload:$ACK_PREFIX {q}" \
|
||||
--preview-window="70%:wrap"
|
||||
|
|
Loading…
Add table
Reference in a new issue