zsh-workers
 help / color / mirror / code / Atom feed
* bug in directory completion with tilde expansion?
@ 2001-02-12 20:41 Adam Spiers
  2001-02-13  0:18 ` PATCH: 3.1.9-dev-8: `setopt noglob' breaks completion Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Spiers @ 2001-02-12 20:41 UTC (permalink / raw)
  To: zsh workers mailing list

My funny combination of option settings strike again ...

This time the culprit seems to be glob_complete:

  $ zsh -f
  $ echo $ZSH_VERSION
  3.1.9-dev-8
  $ autoload compinit; compinit
  $ ls ~/soft<TAB>
  $ ls ~/software/   <-- OK, trailing slash
  $ setopt glob_complete
  $ ls ~/soft<TAB>
  $ ls ~/software    <-- broken, no trailing slash

The problem only exists for completion of tilde-prefixed paths.

I've no idea why I originally chose to switch on some of the esoteric
options I have, but seeing as they unearth obscure bugs now and again,
I think I'll keep them :-)

Incidentally, doing a `setopt noglob' completely breaks the completion
system.


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

* PATCH: 3.1.9-dev-8: `setopt noglob' breaks completion
  2001-02-12 20:41 bug in directory completion with tilde expansion? Adam Spiers
@ 2001-02-13  0:18 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2001-02-13  0:18 UTC (permalink / raw)
  To: Adam Spiers, zsh workers mailing list

Index: Completion/Core/compinit
===================================================================
--- Completion/Core/compinit	2001/01/16 17:17:57	1.72
+++ Completion/Core/compinit	2001/02/13 00:12:34
@@ -124,6 +124,7 @@
 # The standard options set in completion functions.
 
 _comp_options=(
+       glob
        bareglobqual
        nullglob
        rcexpandparam


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

end of thread, other threads:[~2001-02-13  0:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-12 20:41 bug in directory completion with tilde expansion? Adam Spiers
2001-02-13  0:18 ` PATCH: 3.1.9-dev-8: `setopt noglob' breaks completion Bart Schaefer

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