Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: dev-19 -> 20: special-dirs changed?
- X-seq: zsh-users 3075
- From: Andy Spiegl <zsh.Andy@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: dev-19 -> 20: special-dirs changed?
- Date: Thu, 25 May 2000 12:46:44 +0200
- In-reply-to: <1000409000100.ZM4751@xxxxxxxxxxxxxxxxxxxxxxx>; from schaefer@xxxxxxxxxxxxxxxxxxxxxxx on Sun, Apr 09, 2000 at 12:01:00AM +0000
- Mail-followup-to: zsh-users@xxxxxxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <20000407171631.A6690@xxxxxxxxxxxx> <1000409000100.ZM4751@xxxxxxxxxxxxxxxxxxxxxxx>
Bart Schaefer wrote:
> _path_files now recognizes special-dirs only when one of -f or -/ is used.
> The doc says that -f means "complete all files." However, _files always
> calls `_path_files -g ...' so there's no way to get special-dirs to be
> recognized for default file completions.
>
> This is presumably a bug, but whether it's a bug in _path_files or _files
> I don't know.
Hm, haven't heard anything about this issue since. Did it make it onto
the bug list? I still find it pretty annoying that completion doesn't
work in these cases. :-(
I investigated a little more:
Here are cases where no slash is appended after hitting TAB:
cd bar/..
mv foo ..
mv foo ../bar/..
ls ..
ls ../bar/..
And here are cases where a slash is appended:
cd ..
cd ../bar/..
mv foo ../bar
ls ../bar
Thanks for any help,
Andy.
--
E-Mail: Andy@xxxxxxxxx URL: http://andy.spiegl.de
PGP/GPG: see headers
o _ _ _
--------- __o __o /\_ _ \\o (_)\__/o (_)
------- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/
------ (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditions:
They work as long as you don't open windows.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author