Skip to content

v0.1.1

Choose a tag to compare

@codedeviate codedeviate released this 11 Jun 08:02

First public release of witch — a typo-tolerant which.

Install

Via the codedeviate/cli Homebrew tap (builds from source):

brew install codedeviate/cli/witch

Added

  • Typo-tolerant PATH lookup with which-style output (Jaro-Winkler matching with a quality-cliff cutoff)
  • Exact-match short-circuit identical to which behavior
  • Single-result mode when stdout is not a TTY, so $(witch gerp) and pipes get exactly one path
  • -1/--first, -a/--all, -q/--quiet, -i/--pick flags
  • --examples flag, plus clap-generated -h/--help and -V/--version
  • Interactive picker rendered on stderr so it works inside command substitution
  • README, MIT license, and full crate metadata (crate witch-cli, binary witch)

See CHANGELOG.md for details.