zsh-workers
 help / color / mirror / code / Atom feed
* command-spelling correction strangeness
@ 1999-09-29  3:56 Paul Kimoto
  1999-09-29  5:39 ` Bart Schaefer
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Kimoto @ 1999-09-29  3:56 UTC (permalink / raw)
  To: zsh-workers

This is zsh-3.1.6-pws-{5,6} on i586-pc-linux-gnu, with glibc-2.1.2.
(I think that this also occurred under zsh-3.1.6.)

I have a non-executable, non-zero-size file "ps"
(-rw-r--r--   1 kimoto   kimoto        268 Mar 30 16:44 ps)
in a directory ahead of /bin in PATH.  When I have the "correct" and
"autocd" options set, often zsh offers to correct "ps" to "ls" _after_ 
"ps" has been run once.

I can reliably reproduce this under "zsh -f" as follows:

### begin example

perdita[0,821]: zsh -f
perdita% setopt correct autocd
perdita% ps
  PID TTY          TIME CMD
  421 ttyp1    00:00:19 zsh 
  565 ttyp1    00:00:00 tail
20787 ttyp1    00:00:05 emacs
21382 ttyp1    00:00:00 less 
21422 ttyp1    00:00:00 zsh  
21423 ttyp1    00:00:00 ps   
perdita% ps
zsh: correct 'ps' to 'ls' [nyae]? n
  PID TTY          TIME CMD
  421 ttyp1    00:00:19 zsh  
  565 ttyp1    00:00:00 tail 
20787 ttyp1    00:00:05 emacs
21382 ttyp1    00:00:00 less 
21422 ttyp1    00:00:00 zsh  
21424 ttyp1    00:00:00 ps  

### end example

I am not a zsh-workers subscriber, so please cc me as
appropriate.    

        -Paul <kimoto@lightlink.com>


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

end of thread, other threads:[~1999-10-01 19:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-29  3:56 command-spelling correction strangeness Paul Kimoto
1999-09-29  5:39 ` Bart Schaefer
1999-09-29  6:14   ` Paul Kimoto
     [not found]   ` <19990929020225.A21607@adore.lightlink.com>
1999-10-01  2:11     ` Bart Schaefer
     [not found]       ` <19990930232303.A5982@perdita.antigonus.net>
     [not found]         ` <991001040228.ZM25695@candle.brasslantern.com>
     [not found]           ` <19991001002659.A3777@adore.lightlink.com>
1999-10-01 16:32             ` Bart Schaefer
1999-10-01 19:09               ` Paul Kimoto

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