Zsh Mailing List Archive
Messages sorted by:
Re: terminfo, cygwin troubles
- X-seq: zsh-users 5730
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Le Wang <lewang@xxxxxxxxx>
- Subject: Re: terminfo, cygwin troubles
- Date: Thu, 16 Jan 2003 15:27:55 +0100
- Cc: Zsh users list <zsh-users@xxxxxxxxxx>
- In-reply-to: <20030115193354.41151.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20030115193354.41151.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
- Sender: kiddleo@xxxxxxxxxx
On 15 Jan, you wrote:
> I'm having some trouble with the $TERMINFO variable.
> I've set the variable according to 'man terminfo'.
> But zsh doesn't seem to check my $TERMINFO for the
> required descriptors. Am I missing something? I know
> that it's set correctly since 'man' works correctly
> when $TERMINFO is set, but fails when it's not set.
I'm not sure without having access to cygwin. $TERMINFO contains the
directory containing the terminfo database right? It might be using
> On another note, doing 'ls -F' is really slow on
> cygwin. The zsh completion mechanism seems to do
> something very similar to this. How can I just get
> normal menu completion listings without helpful little
> symbol suffixes?
You could try `unsetopt listtypes' but I've no idea if it will help the
> _files "$expl[@]" -g '*.mp3'
> However this narrows the list too much. I need any
> mp3s or directories, with the mp3s sorted first. How
> would I accomplish this? (I think this should be
> trivial, bit I've never been able to figure it out.)
Generally, that isn't done in the completion function but is configured
by each user. The following style (which is the default in 4.1) may
help. If you want it to work on the mp3 commands only, you'll need to
change the context part.
zstyle ':completion:*' file-patterns \
'%p:globbed-files *(-/):directories' '*:all-files'
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
Messages sorted by: