zsh-workers
 help / color / mirror / code / Atom feed
* Re: 3.1.7-pre-1: fignore is mishandled by _files
@ 2000-04-25 11:03 Sven Wischnowsky
  2000-04-25 15:22 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Sven Wischnowsky @ 2000-04-25 11:03 UTC (permalink / raw)
  To: zsh-workers


Bart Schaefer wrote:

> _path_files attempts to use $fignore, but only if no -g options were passed.
> However, _files *always* passes a -g option to _path_files, so in the one
> case where one might expect fignore to work without extra configuration --
> default file completions -- it fails to do so.

But it explicitly uses $fignore when the pattern is `*'. And it works
for me with `zsh -f', setting $fignore and doing `ls <TAB>'.

Could you give me an example where it fails to do what you want?

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


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

* Re: 3.1.7-pre-1: fignore is mishandled by _files
  2000-04-25 11:03 3.1.7-pre-1: fignore is mishandled by _files Sven Wischnowsky
@ 2000-04-25 15:22 ` Bart Schaefer
  0 siblings, 0 replies; 3+ messages in thread
From: Bart Schaefer @ 2000-04-25 15:22 UTC (permalink / raw)
  To: Sven Wischnowsky, zsh-workers

On Apr 25,  1:03pm, Sven Wischnowsky wrote:
} Subject: Re: 3.1.7-pre-1: fignore is mishandled by _files
}
} > _path_files attempts to use $fignore, but only if no -g options were passed.
} > However, _files *always* passes a -g option to _path_files, so in the one
} > case where one might expect fignore to work without extra configuration --
} > default file completions -- it fails to do so.
} 
} But it explicitly uses $fignore when the pattern is `*'. And it works
} for me with `zsh -f', setting $fignore and doing `ls <TAB>'.
} 
} Could you give me an example where it fails to do what you want?

It's apparently this style that's causing me trouble:

    zstyle ':completion:*' file-sort modification reverse

If _path_files is going to check for a pattern of `*', it needs to do so
with any globbing flags first stripped off.  Ouch.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


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

* 3.1.7-pre-1: fignore is mishandled by _files
@ 2000-04-25  5:36 Bart Schaefer
  0 siblings, 0 replies; 3+ messages in thread
From: Bart Schaefer @ 2000-04-25  5:36 UTC (permalink / raw)
  To: zsh-workers

_path_files attempts to use $fignore, but only if no -g options were passed.
However, _files *always* passes a -g option to _path_files, so in the one
case where one might expect fignore to work without extra configuration --
default file completions -- it fails to do so.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


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

end of thread, other threads:[~2000-04-25 15:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-25 11:03 3.1.7-pre-1: fignore is mishandled by _files Sven Wischnowsky
2000-04-25 15:22 ` Bart Schaefer
  -- strict thread matches above, loose matches on Subject: below --
2000-04-25  5:36 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).