zsh-users
 help / color / mirror / code / Atom feed
* double-listing with completion?
@ 2000-06-15  3:20 Matthew Lovell
  2000-06-15  3:27 ` Matthew Lovell
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Lovell @ 2000-06-15  3:20 UTC (permalink / raw)
  To: zsh-users

Hi,

If I follow the example given in the User Guide,

 zstyle ':completion:*:descriptions' format 'Completing %d'
 zstyle ':completion:*' group-name ''

and then try "ls <complete>", I end up with a double-listing of
completions:

lovell@mblhome:~
% ls
Completing file
Chess  Desktop  Mail  Office50  autosave  axhome  bin  lale  misc
Completing file
Chess  Desktop  Mail  Office50  autosave  axhome  bin  lale  misc


I was wondering whether I was doing something wrong or if this was a
bug in 3.1.9.

ZSH_VERSION:  3.1.9
uname:        Linux mblhome 2.2.14-15mdksecure (Mandrake 7.0)
 
Thanks,
  Matt

-- 
Matthew Lovell
HP Technical Solutions Lab
mailto:lovell@fc.hp.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: double-listing with completion?
  2000-06-15  3:20 double-listing with completion? Matthew Lovell
@ 2000-06-15  3:27 ` Matthew Lovell
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Lovell @ 2000-06-15  3:27 UTC (permalink / raw)
  To: zsh-users

On 14 June 2000, Matthew Lovell writes:
 > 
 > If I follow the example given in the User Guide,
 > 
 >  zstyle ':completion:*:descriptions' format 'Completing %d'
 >  zstyle ':completion:*' group-name ''
 > 
 > and then try "ls <complete>", I end up with a double-listing of
 > completions:
 > 
 > lovell@mblhome:~
 > % ls
 > Completing file
 > Chess  Desktop  Mail  Office50  autosave  axhome  bin  lale  misc
 > Completing file
 > Chess  Desktop  Mail  Office50  autosave  axhome  bin  lale  misc

Sorry to answer my own email...

Ah, I think it's being caused by another zstyle command (this one came
from the man pages)

  zstyle ':completion:*' file-patterns \
    '%p:globbed-files *(-/):directories' '*:all-files'

A somewhat odd interaction!  Generally, I liked that example a lot.
I've always wanted the ability to do something like

   gv path/down/to<complete>

and get completion for paths and then just get completion for *.ps at
the end.  Perhaps I can restrict that last zstyle to everything but
the ls command.

  Matt

-- 
Matthew Lovell
HP Technical Solutions Lab
mailto:lovell@fc.hp.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-06-15  3:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-15  3:20 double-listing with completion? Matthew Lovell
2000-06-15  3:27 ` Matthew Lovell

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).