zsh-users
 help / color / mirror / code / Atom feed
* Recursive globbing shorthand (a la **.c)
@ 2015-10-28  6:57 Dominik Vogt
  2015-10-28 13:27 ` Mikael Magnusson
  2015-10-29 10:53 ` Peter Stephenson
  0 siblings, 2 replies; 6+ messages in thread
From: Dominik Vogt @ 2015-10-28  6:57 UTC (permalink / raw)
  To: Zsh Users

Most of the time, I use recursive globbing to find files of
certain types, e.g.

  $ ll **/*.c

With the zsh here (4.3.17), recursive globbing works only
with a plain ** anyway (i.e. in "**x" and "x**" the ** works just
like a plain "*").  So, is it possible (or a useful future
feature) to make "**" imply a trailing "/*" if not with a trailing
pattern?  Then we could type

  $ ll **.c

as a shorthand, and the "traditional" uses would work without
change (e.g. **/*.c or **/foo).

(Note that on German keyboards, "/" and "*" are very awkward to
type in a sequence because both need the left shift key held and
the keys for the right hand are very far apart, so this is really
a usability issue.)

Ciao

Dominik ^_^  ^_^


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

end of thread, other threads:[~2015-10-29 10:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-28  6:57 Recursive globbing shorthand (a la **.c) Dominik Vogt
2015-10-28 13:27 ` Mikael Magnusson
2015-10-28 19:04   ` ZyX
     [not found]   ` <240121446059044__35603.2418822453$1446059490$gmane$org@web30h.yandex.ru>
2015-10-28 21:15     ` Stephane Chazelas
2015-10-29 10:15   ` Dominik Vogt
2015-10-29 10:53 ` 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).