owtools include browsers for a terminal junker. The original idea is from wgrep, wlocate, wfind - 兼雑記.
- Written in OCaml.
- Sort results by path in lexicographic order.
- Set the max length of matched results.
ag with w3m.
find
with w3m. In addition, you can edit results.
mlocate with w3m. In addition, you can edit results.
- Depends : w3m
- Optional : ag, find, mlocate
- OCaml (>= 4.07.0)
- Dune
- ocaml-re
opam update
opam install dune ounit re qcheck
git clone https://github.com/r6eve/owtools
cd owtools
make
ls bin # wag* wfind* wlocate*
Then, move those bins to PATH, or export PATH to add there.
See Releases. owtools-${version}-x86_64-unknown-linux-musl.tar.zst
includes statically linked binaries.
git clone https://github.com/r6eve/AUR
cd AUR/owtools-bin
makepkg -s
pacman -U owtools-bin-${pkgver}-${pkgrel}-x86_64.pkg.tar.zst
alias wa='MAX_LENGTH=300 wag -U --hidden --ignore-dir .git --ignore-dir _build'
wf(){ wfind "$@" -not -path '*/.git/*' -a -not -path '*/target/*' -a -not -path "*/_build/*" -a -type f }