Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: hash completion oddity
- X-seq: zsh-workers 24634
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers <zsh-workers@xxxxxxxxxx>
- Subject: Re: hash completion oddity
- Date: Fri, 29 Feb 2008 09:29:05 -0800
- In-reply-to: <237967ef0802290720y7b7d8e91n5df822fd989b69c@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <237967ef0802290720y7b7d8e91n5df822fd989b69c@xxxxxxxxxxxxxx>
On Feb 29, 4:20pm, Mikael Magnusson wrote:
}
} hash -d foo=~jo<tab>
} and expected it to complete to foo=~johndoe, but instead it just says
} "unknown user jo".
C-x h will show you that in that context it's expecting to complete
files, only. The _hash function is calling _path_files at that point,
which doesn't know how to populate an incomplete tilde-expansion.
I don't have time at the moment to try to work out what to change to
get it to call _tilde first. I may take another stab later but if
someone else wants to jump in, please do.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author