zsh-workers
 help / color / mirror / code / Atom feed
From: Paul Kimoto <kimoto@lightlink.com>
To: zsh-workers@sunsite.auc.dk
Subject: command-spelling correction strangeness
Date: Tue, 28 Sep 1999 23:56:56 -0400	[thread overview]
Message-ID: <19990928235656.A22062@perdita.antigonus.net> (raw)

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>


             reply	other threads:[~1999-09-29  3:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-29  3:56 Paul Kimoto [this message]
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

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=19990928235656.A22062@perdita.antigonus.net \
    --to=kimoto@lightlink.com \
    --cc=zsh-workers@sunsite.auc.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).