zsh-users
 help / color / mirror / code / Atom feed
* Wouldn't it be nice if mkdir completion completed _path_files instead of _path_files -/?
@ 2007-09-16 19:13 Nikolai Weibull
  2007-09-16 22:36 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Nikolai Weibull @ 2007-09-16 19:13 UTC (permalink / raw)
  To: ZSH Users

Wouldn't it be nice if mkdir completion completed _path_files instead
of _path_files -/?  I sometimes find myself wanting to create a
directory with a slight variation of a name of a file.  Is there any
harm in completing files as well as directories for mkdir?

  nikolai


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

* Re: Wouldn't it be nice if mkdir completion completed _path_files instead of _path_files -/?
  2007-09-16 19:13 Wouldn't it be nice if mkdir completion completed _path_files instead of _path_files -/? Nikolai Weibull
@ 2007-09-16 22:36 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2007-09-16 22:36 UTC (permalink / raw)
  To: ZSH Users

On Sep 16,  9:13pm, Nikolai Weibull wrote:
} Subject: Wouldn't it be nice if mkdir completion completed _path_files ins
}
} Wouldn't it be nice if mkdir completion completed _path_files instead
} of _path_files -/?  I sometimes find myself wanting to create a
} directory with a slight variation of a name of a file.  Is there any
} harm in completing files as well as directories for mkdir?

If you're tab-completing a long path through several intermediate
directories where some of those directories have a lot of plain files,
you end up with a lot of useless names to wade through in the menus at
each completion step.

One could, I suppose, arrange to add the plain files to the ignored
list for mkdir so they'd only be completed when no directories are
possible matches.


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

end of thread, other threads:[~2007-09-17  0:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-16 19:13 Wouldn't it be nice if mkdir completion completed _path_files instead of _path_files -/? Nikolai Weibull
2007-09-16 22: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).