A plugin for Oh My Fish.
$ omf install errno-grep
Search for error codes, labels or messages
$ errno-grep 5
5 EIO I/O error
$ errno-grep EINVAL
22 EINVAL Invalid argument
$ errno-grep argument
7 E2BIG Argument list too long
22 EINVAL Invalid argument
33 EDOM Math argument out of domain of func
Tab-completions for error labels (like EINVAL) are available.
MIT © Shadowigor et al