zsh-users
 help / color / mirror / code / Atom feed
* ignored-patterns: only ignore commands, not files
@ 2021-01-14  6:31 Fourhundred Thecat
  2021-01-14 14:04 ` Mikael Magnusson
  0 siblings, 1 reply; 3+ messages in thread
From: Fourhundred Thecat @ 2021-01-14  6:31 UTC (permalink / raw)
  To: zsh-users

Hello,

I have this in my .zshrc:

  zstyle ':completion:*' ignored-patterns 'foo'

the goal is to ignore command "foo" when autocomleting. But this also
ignores argument foo, (ie file is named foo, as in "ls foo")

is it possible to ignore foo only when it is used as command, and not
when it is used as argument (after another command) ?

thanks,


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

end of thread, other threads:[~2021-01-15  4:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-14  6:31 ignored-patterns: only ignore commands, not files Fourhundred Thecat
2021-01-14 14:04 ` Mikael Magnusson
2021-01-15  4:38   ` Fourhundred Thecat

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