zsh-users
 help / color / mirror / code / Atom feed
From: Cosmo <cosmo@uk.ibm.com>
To: zsh-users@sunsite.dk
Subject: Preferred spelling list
Date: Wed, 23 Jul 2003 17:52:39 +0100	[thread overview]
Message-ID: <3F1EBD57.5080602@uk.ibm.com> (raw)


I have CORRECT_ALL set and like the way I can type without thinking too hard. But I have
had trouble figuring out how I can get the default correction option to be the one that
I want. EG I am hopless at typing 'less':

cosmo@koetsu [~] ids_940_shm :-] les file1
zsh: correct 'les' to 'ls' [nyae]?
cosmo@koetsu [~] ids_940_shm :-] lss file1
zsh: correct 'lss' to 'ss' [nyae]?

How can I persuade the correction mechanism that I have a preferred list of commands that
should be considered first? I feel that I should be looking at the zstlye completer and
_correct but the more I stare at TFM the les I understand. I also don't want to set aliases
for all the possible mis-spellings that I could type, just a list of the most common commands.
How about it predicting the list based on the history.

On a similar note is it possible to get the correction mechanism to do this...

cosmo@koetsu [~] ids_940_shm :-] les sfile1
zsh: correct 'les sfile1' to 'less file1' [nyae]?

Now that would be super!




Cosmo


                 reply	other threads:[~2003-07-23 17:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3F1EBD57.5080602@uk.ibm.com \
    --to=cosmo@uk.ibm.com \
    --cc=zsh-users@sunsite.dk \
    /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).