zsh-users
 help / color / mirror / code / Atom feed
From: Eric Smith <es@fruitcom.com>
To: Zsh Users <zsh-users@zsh.org>
Subject: spell check on the command line
Date: Fri, 24 Oct 2014 12:54:07 +0200	[thread overview]
Message-ID: <mailbox-22881-1414147596-756685@pepper.0.0.200> (raw)

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


             reply	other threads:[~2014-10-24 11:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-24 10:54 Eric Smith [this message]
2014-10-24 15:36 ` Bart Schaefer
2014-10-24 21:19   ` Eric Smith
2014-10-25  7:24     ` Bart Schaefer
2014-10-25  8:17       ` Eric Smith
2014-10-25 18:06         ` Bart Schaefer
2014-10-27 11:18           ` Eric Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=mailbox-22881-1414147596-756685@pepper.0.0.200 \
    --to=es@fruitcom.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).