zsh-users
 help / color / mirror / code / Atom feed
From: Roman Perepelitsa <roman.perepelitsa@gmail.com>
To: Thomas Lauer <thomas.lauer@virgin.net>
Cc: zsh-users@zsh.org
Subject: Re: completing .directories without . and ..
Date: Tue, 21 Feb 2023 17:48:44 +0100	[thread overview]
Message-ID: <CAN=4vMrXa31LbuSP3o8XvwWPr03tWfaiXgdEdoptb44BHwT+Yg@mail.gmail.com> (raw)
In-Reply-To: <bhs9vhpt9o2cknnumnh4a3vdae0930n7um@tlc.com>

On Tue, Feb 21, 2023 at 5:39 PM Thomas Lauer <thomas.lauer@virgin.net> wrote:
>
> Subj says it all... in some directories I have many .subdirs and when I
> complete them (ie start completion with .<TAB>) I get all the .subdirs
> but also . and .. which in 99.99987% of cases I don't need and don't
> want.

This isn't the default. You must have explicitly set special-dirs to
true. See "special-dirs" in `man zshcompsys` for documentation.

Roman.


  reply	other threads:[~2023-02-21 16:49 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-21 16:38 Thomas Lauer
2023-02-21 16:48 ` Roman Perepelitsa [this message]
2023-02-21 16:59   ` Thomas Lauer
2023-02-21 17:14     ` Ray Andrews
2023-02-21 18:09       ` Thomas Lauer
2023-02-21 19:14     ` Roman Perepelitsa
2023-02-21 21:25       ` Ray Andrews
2023-02-21 22:11       ` Bart Schaefer
2023-02-22 13:16       ` Thomas Lauer
2023-02-22 13:31         ` Thomas Lauer

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=4vMrXa31LbuSP3o8XvwWPr03tWfaiXgdEdoptb44BHwT+Yg@mail.gmail.com' \
    --to=roman.perepelitsa@gmail.com \
    --cc=thomas.lauer@virgin.net \
    --cc=zsh-users@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).