Cleaning up mess

master
Steven Saus 3 years ago
parent 116c03bc6a
commit 2f0295dfd9
  1. 7
      sbagen_select.sh

@ -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" {}')

Loading…
Cancel
Save