zsh-workers
 help / color / mirror / code / Atom feed
From: Mike Brown <brown@mrvideo.vidiot.com>
To: zsh-workers@zsh.org
Subject: Command expansion failure in for loops
Date: Mon, 12 Jun 2017 20:50:58 -0500	[thread overview]
Message-ID: <20170613015058.GJ1003@mrvideo.vidiot.com> (raw)

Hi, new to the mail list, but not new to zsh.  I've been a zsh user since,
what - the beginning of time?

I've recently brought up a new Fedora 25 Linux box, in which I installed
zsh 5.2 64 bit redhat linux gnu.  I run zsh under Solaris 5 (I started out
in SunOS way back when, moving on to Solaris and wherever I went, insisted
in zsh being installed and shipped).  I also run it under cygwin on XP (ya
I know, really old) and was running it under Fedora 14, a box that I shut
down earlier today.  It won't boot up, as I just tried.  It has a mother
board issue detecting hard drives (one of the reasons I had to replace it).

Now for the issue.  Command expansion is no longer working in for loops.
For example:

    for name in x y z
    for> do
    for> ftp_s<TAB>

It should expand to ftp_share and present ftp_spain as the other command.
Both of those commands are in my home bin directory.  Expansion of ftp_s<TAB>
works on the command line.  In the for loop, the tab key is ignored.

It worked before version 5.2.  Since the F14 box is now off, I can't check
its version, but I suspect 4.x something.  It is 4.2.1 (i386-pc-solaris2.10
on the Solaris box.

Is there something different in 5.2 that I need to know about in order to
get this working again?  I tried parsing the change history that is
online, but nothing lept out at me.

Thanks for any help with this.

MB
-- 
e-mail: vidiot@vidiot.com | vidiot@vidiot.net            /~\ The ASCII
        6082066843@email.uscc.net (140 char limit)       \ / Ribbon Campaign
Visit - URL: http://vidiot.com/                           X  Against
             http://vidiot.net/                          / \ HTML Email
"You're Sherlock Holmes, wear the damn hat!" - Watson to Sherlock
Sherlock - The Abominable Bride - 1/01/16


             reply	other threads:[~2017-06-13  1:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-13  1:50 Mike Brown [this message]
2017-06-13  2:38 ` Bart Schaefer

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=20170613015058.GJ1003@mrvideo.vidiot.com \
    --to=brown@mrvideo.vidiot.com \
    --cc=zsh-workers@zsh.org \
    /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).