Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
expansion of environment variables
- X-seq: zsh-users 13880
- From: ruud grosmann <r.grosmann@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: expansion of environment variables
- Date: Thu, 5 Mar 2009 11:35:11 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=Fcb5PF2lpy9BBOfvZgc4xsX19Zlat17+vDdxYCdvEfA=; b=Chl3yiPD7jds0LudeaKiejulabEiveFWiqlgyyjHde9Zrj/4BoClVMvmD3GwkNFOxV urymaixfHaQAFl/hetX4LPjgdHL4MJzl6SgvXF3rJ+2GEQV3x7Az8NVBjgasA5xAjnGx sq97f/6sr4a05p5e5V2y7TL/+qARARLbcSNr0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=lIp+JcIhuJVKFQRT5AA+7MGne9P7rQNKrL6Cbj15DwBM4/SrIoGhQ++CHTVzbhDKZG kLL4y2Ef5FP/a8mRWHLWdLMWF1FgTqfC5nPYPe8BztOnmqLxtHA8Tb0lO86tQ0JUR91Y li1bLwDmhOUra95qKBa4xQY7BeRfY+LMIZatA=
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
hi list,
this is my first post. Hopefully this is not the kind of question that
is asked a dozen times before.... :)
I work on different machines and use zsh as my login shell. On my own
machine I can update software, on the others not. That is why most of
the machines contain zsh version 3.0 (according to the man page),
whereas my own machine has zsh 4.3.2 (i686-pc-linux-gnu).
The new version has a feature that is not in the 3.0 version. I would
like to disable the feature, but I am not sure if an option exist for
that one. Maybe you can help me.
The feature is about expansion of variables during file completion.
Assume my directory contains
1234.log 1234.xml 2345.xml
when I set variable key to '2345' and I do
$ /opt/archives/scripts/bin/convert $key.<TAB>
the OLD version expands this to
$ /opt/archives/scripts/bin/convert $key.xml
whereas the new version expands it to
$ /opt/archives/scripts/bin/convert 2345.xml
I would like to have the old behaviour in my new zsh, so that I can
reuse the command line for different values of key. Since it is a new
feature, I suspect there must be a way to prevent the shell from
substituting the variable with its value. Am I overlooking it in the
docs?
thanks in advance, Ruud
Messages sorted by:
Reverse Date,
Date,
Thread,
Author