From: "Peter Slížik" <peter.slizik@gmail.com>
To: Zsh Users <zsh-users@zsh.org>
Subject: <Tab> completion does not insert a slash
Date: Wed, 4 Aug 2021 17:02:09 +0200 [thread overview]
Message-ID: <CAC-uhUAy2HxtSguG8=uAXq57tCdUaKy0puR8boH5HQ3LddMmgQ@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1103 bytes --]
Hello zshers,
my <Tab> completion configuration in .zshrc is quite a mess, and it shows.
The result of the completion is quite unpredictable when it comes to the
trailing slash.
Sometimes (for example, with 'git add'), pressing <Tab> inserts a directory
name followed by a shlash.
If I had a modified file in aaa/bbb/ccc, pressing a <Tab> 4 times would
complete the whole command.
git add <Tab>aaa/<Tab>bbb/<Tab>ccc/<Tab>file.py
Other times (e.g. with the 'cd' command), pressing <Tab> would insert just
the directory name, without the trailing slash.
Sometimes I need to press <Tab> two or even three (!) times to produce the
slash. Or just press the slash key, that's faster.
cd <Tab>aaa<Tab><Tab><Tab>/bbb, etc.
I remember when I started using Zsh, the completion engine would insert a
bold slash, which was either kept or removed depending on the further
action.
As I said, I have a lot of settings in my .zshrc and I don't know which of
them could make the change in completion behavior. Could you kindly point
me where to start or how to trace the problem?
Thank you.
Best regards,
Peter
[-- Attachment #2: Type: text/html, Size: 1503 bytes --]
next reply other threads:[~2021-08-04 15:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-04 15:02 Peter Slížik [this message]
2021-08-04 15:45 ` Bart Schaefer
2021-08-04 16:49 ` Peter Slížik
2021-08-04 17:26 ` Bart Schaefer
2021-08-11 20:03 ` Peter Slížik
2021-08-11 20:23 ` Peter Slížik
2021-08-11 22:20 ` Bart Schaefer
2021-08-16 21:39 ` Peter Slížik
2021-08-16 21:41 ` Peter Slížik
2021-08-16 22:17 ` Bart Schaefer
2021-08-17 8:57 ` Peter Slížik
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='CAC-uhUAy2HxtSguG8=uAXq57tCdUaKy0puR8boH5HQ3LddMmgQ@mail.gmail.com' \
--to=peter.slizik@gmail.com \
--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).