Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
spell check on the command line
- X-seq: zsh-users 19283
- From: Eric Smith <es@xxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: spell check on the command line
- Date: Fri, 24 Oct 2014 12:54:07 +0200
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Dear zshellers
I make frequent typos (which I like to blame on my apple
keyboard). These are either in commands themselves or in long
filenames concatenated with underscores as arguments to commands.
(Of course autocorrect in a command could be dangerous, but then
so could a typo).
But especially interesting is a spell check for my
long_filenames_with_useful_tags_as_metadata.pdf
How could I implement and autocorrect function that is run when I
press enter and on suspected spell error beeps and
guesses what I meant and would give me a chance to review the
correction?
--
Eric Smith
Messages sorted by:
Reverse Date,
Date,
Thread,
Author