Show HN: Zcomplete – Shell Typo Correction

(github.com)

17 points | by omarfakih 15 days ago

2 comments

  • omarfakih 15 days ago
    Mistype a command and zcomplete works out which one you meant from the commands you usually run, then offers to run it with your arguments. Or runs it without asking, if you set it that way.

    $ mkd build zcomplete: run mkdir instead of 'mkd'? [Y/n] y

    $ cargo tset error: no such command: `tset` zcomplete: run cargo test? [Y/n] y

    Works on bash, zsh, and fish. No process on the happy path.

    • fhn 14 days ago
      thanks, will check it out.
  • dddw 13 days ago
    ℅ df # you meant 'dd' ?!