|
|
|
@ -11,13 +11,6 @@ |
|
|
|
|
|
|
|
|
|
SBAGenDir="/home/steven/apps/sbagen-1.4.4/" |
|
|
|
|
OGGDir="/home/steven/apps/sbagen-1.4.4/" |
|
|
|
|
#SearchTerm=$(echo ${@} | sed '/^$/!s/[^ ]* */| -e &/g' | tail -c +2) |
|
|
|
|
|
|
|
|
|
#SearchString=$(printf "rg %s -l -f $(rg --files-without-match \"_diff:\" %s)" "${SearchTerm}" "${JoplinSearchDir}") |
|
|
|
|
#cat "$SearchString" |
|
|
|
|
#eval "$SearchString" |
|
|
|
|
#rg -l -w "${SearchTerm}" $(rg --files-without-match "title_diff:" ${JoplinSearchDir}) | fzf --no-hscroll -m --height 90% --border --ansi --no-bold --preview='bat {}' |
|
|
|
|
#| rg --files-without-match -e "_diff:" -f - | fzf --no-hscroll -m --height 90% --border --ansi --no-bold --preview="bat {}" |
|
|
|
|
|
|
|
|
|
sbgfile=$(fdfind . ${SBAGenDir} --follow --type file --extension sbg | fzf --no-hscroll -m --height 90% --border --ansi --no-bold --header="Choose SBA file" --preview='sed -n "/^#/p" {}') |
|
|
|
|
|
|
|
|
|