Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: dynamic named directories
- X-seq: zsh-workers 25747
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: Re: PATCH: dynamic named directories
- Date: Thu, 25 Sep 2008 08:51:08 -0700
- In-reply-to: <15726.1222353125@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <15726.1222353125@xxxxxxx>
On Sep 25, 3:32pm, Peter Stephenson wrote:
}
} Now you can use ~[<stuff>] and <stuff> gets passed down to a function
} zsh_directory_name, which either parses it and picks an appropriate
} directory or refuses.
Wow, it's the next best thing to symlinks with environment variable
references in them, like I had in 1990 on my dual-68020 Sony machine
running a Japanese version of 4.3 BSD.
Only maybe without the corresponding gaping security hole.
} - doshfunc(shfunc, l, 0, 1);
} + doshfunc(shfunc, l, 1);
Are you sure this is still equivalent to the old way? Looks like here
[and in several similar places] doshfunc() was being explicitly told to
ignore shfunc->node.flags, whereas with your change it will always pay
attention to them.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author