zsh-workers
 help / color / mirror / code / Atom feed
* Skip singleton directories when tab completing
@ 2017-08-24 19:37 Daniel Li
  2017-08-24 21:15 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Li @ 2017-08-24 19:37 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 729 bytes --]

Hi all,

I frequently find myself navigating directories such as the following:

src
└── main
    └── scala
        └── com
            └── tubitv
                └── metadata
                    ├── users
                    │   ├── SomeFile.scala
                    │   └── SomeOtherFile.scala
                    └── Application.scala

I'll have to manually type out src/main/scala/com/tubitv/metadata each
time.  Is there a Zsh feature that autocompletes all the singleton
directories so that I can directly go to the leaf dir?

Regards,

*Daniel Li*
Senior Backend Engineer at Tubi TV

560 Mission St, Suite 1301

San Francisco, CA 94105

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

end of thread, other threads:[~2017-08-24 21:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-24 19:37 Skip singleton directories when tab completing Daniel Li
2017-08-24 21:15 ` 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).