Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Skip singleton directories when tab completing
- X-seq: zsh-workers 41596
- From: Daniel Li <dan@xxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Skip singleton directories when tab completing
- Date: Thu, 24 Aug 2017 12:37:13 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tubitv-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=HWCmguLQGpKenDCGxuU8hc3J0CsfsLsJ99LnRMo52QQ=; b=CO6mxfmOBqh1BxBM5f4EuL4vAC4UxBpV43CAmM3s4zGtwrPyXkcwi0ZO3Wkd1KQB3B 8AGWQFkgIjbiM95FhGuzBErJxcVTTFTJJw651w/KJBkLXClGuETxsd2BXjzRy6vqpIyD MH9OPVYZTDw3goAtLa/x/DoaZ6Q4hFAV0cEzfvilPYE9HIb4QQxduifVV9Fco5aPG7g7 6eHvuxhjsFERbeteBYrtdztIrH4N+cPXWdfEdO90B0qSX9iz0G3UNA6alp7KDtqlDaxd 9Kxc8p3jVdKTWWGteU2ozvmyAOb+axQiHW9KWXDmcrEYXCsiveltj6xUyVeCy7vMxBlD nqrA==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author