logoalt Hacker News

omarfakihyesterday at 7:18 PM1 replyview on HN

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.


Replies

fhnyesterday at 9:48 PM

thanks, will check it out.

show 1 reply