From: Daniel Li <dan@tubitv.com>
To: zsh-workers@zsh.org
Subject: Skip singleton directories when tab completing
Date: Thu, 24 Aug 2017 12:37:13 -0700 [thread overview]
Message-ID: <CAN_nDg67HOSAWif-CKeidkj2B3S3KGdzhCBVxRs8+vUZF8z3+Q@mail.gmail.com> (raw)
[-- 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
next reply other threads:[~2017-08-24 19:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-24 19:37 Daniel Li [this message]
2017-08-24 21:15 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAN_nDg67HOSAWif-CKeidkj2B3S3KGdzhCBVxRs8+vUZF8z3+Q@mail.gmail.com \
--to=dan@tubitv.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).