zsh-users
 help / color / mirror / code / Atom feed
* Preferred spelling list
@ 2003-07-23 16:52 Cosmo
  0 siblings, 0 replies; only message in thread
From: Cosmo @ 2003-07-23 16:52 UTC (permalink / raw)
  To: zsh-users


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-23 17:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-23 16:52 Preferred spelling list Cosmo

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).