notfoundle

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2023 License: MIT Imports: 9 Imported by: 0

README

notfoundle

A command not found handler like wordle:

% probet
Did you mean: ⬜🟨🟨🟨🟨🟩

It's not deterministic so don't try to solve them or you will lose your mind.

Installation

You need Go and $GOPATH/bin (or ~/go/bin) in your PATH.

go install github.com/brackendawson/notfoundle@latest
Zsh
echo 'command_not_found_handler() { notfoundle "$1" }' >>~/.zshrc
fish shell
echo -e "function fish_command_not_found\n    notfoundle \$argv[1]\nend" >> ~/.config/fish/functions/default/not_found.fish

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL