zsh-workers
 help / color / mirror / code / Atom feed
* Don't suggest completion functions when 'correcting' on non-existant commands
@ 2008-12-31 17:48 Richard Hartmann
  2008-12-31 18:12 ` Frank Terbeck
  0 siblings, 1 reply; 7+ messages in thread
From: Richard Hartmann @ 2008-12-31 17:48 UTC (permalink / raw)
  To: Zsh Workers, 257336-forwarded

Hi all,

bug 257336[1] made me think of something that has annoyed me
for ages, but never enough to actually send email to the list:

richih@roadwarrior ~ % figlet
zsh: correct 'figlet' to '_figlet'? [N/y/a/e]

I don't know enough about zsh internas to guesstimate if this is
an easy fix or not. Two possible solutions which come to mind:

1) Make zsh aware of what functions came in through $FPATH
and which came in through $PATH so the correction function
does not even see them when looking for other executable
commands.

2) Make the completion function do the filtering outlined in 1)


Richard

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=257336


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-01-21 17:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-31 17:48 Don't suggest completion functions when 'correcting' on non-existant commands Richard Hartmann
2008-12-31 18:12 ` Frank Terbeck
2008-12-31 18:46   ` Bart Schaefer
2009-01-02 22:54     ` Frank Terbeck
2009-01-03  2:48       ` Bart Schaefer
2009-01-03 11:42         ` Frank Terbeck
2009-01-21 17:08           ` Richard Hartmann

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