zsh-workers
 help / color / mirror / code / Atom feed
* Compinstall on Cygwin notes
@ 2000-05-26 12:01 Andrej Borsenkow
  2000-05-26 12:57 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Andrej Borsenkow @ 2000-05-26 12:01 UTC (permalink / raw)
  To: ZSH workers mailing list

MW1G17C% compinstall
I haven't found any existing completion definitions.
If you have some already defined by compinstall, edit the name of the
file where these can be found.  Note that this will only work if they
are exactly the form in which compinstall inserted them.  If you leave
the line as it is, or empty, I won't search.
file> /cygdrive/h//.zshrc

Note the double slash here. It happens, because I have home drive
mapping in my profile so NT automatically sets

HOME=H:\

that is being translated by Cygwin into

/cygdrive/h/

-andrej

Have a nice DOS!
B >>


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

* Re: Compinstall on Cygwin notes
  2000-05-26 12:01 Compinstall on Cygwin notes Andrej Borsenkow
@ 2000-05-26 12:57 ` Peter Stephenson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 2000-05-26 12:57 UTC (permalink / raw)
  To: Zsh hackers list

> MW1G17C% compinstall
> the line as it is, or empty, I won't search.
> file> /cygdrive/h//.zshrc
> 
> Note the double slash here. It happens, because I have home drive
> mapping in my profile so NT automatically sets
> 
> HOME=H:\
> 
> that is being translated by Cygwin into
> 
> /cygdrive/h/

You'll have to persuade it not to.  I've come to the conclusion it's just
not rational to go through the entire code for zsh turning checking every
single possible occurence of a double slash just because cygwin uses double
slashes for network resources.  Strip the / in .zshenv.

> In any case, I think, it is nice if compinstall would support widget
> selection here. It could also remind, that if you select _match or
> _expand completers, you better change your default completion widget.

> there are some options that change how completion is performed, notably,
> bash compatibilty, if we want list or want to go straight to menu etc.
> Is it possible to configure the same with styles? If not, it would be
> very nice if compinstall could also set them as well.

It's a fairly simple shell function, just quite long, and I'd be very, very
happy for anybody else to add some of the 5,000 possible features I'm at
the last count aware of to compinstall.

-- 
Peter Stephenson <pws@cambridgesiliconradio.com>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070


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

end of thread, other threads:[~2000-05-26 12:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-26 12:01 Compinstall on Cygwin notes Andrej Borsenkow
2000-05-26 12:57 ` Peter Stephenson

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).