Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Unexpected "unknown file attribute" error
- X-seq: zsh-workers 16227
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Unexpected "unknown file attribute" error
- Date: Fri, 9 Nov 2001 01:22:35 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
For obscure reasons, one of the machines I use at work has this function
in root's .zshrc:
function add-dir {
which=$1
shift
foreach dir ($*) {
eval $which=(\${$which} \$dir)
}
}
This used to work in 3.0.x, but now that I've installed 4.0.4, it fails with
add-dir:4: unknown file attribute
Why isn't the space inside the parens enough to keep them from being treated
as a glob qualifier? It used to be.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author