zsh-users
 help / color / mirror / code / Atom feed
* <Tab> completion does not insert a slash
@ 2021-08-04 15:02 Peter Slížik
  2021-08-04 15:45 ` Bart Schaefer
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Slížik @ 2021-08-04 15:02 UTC (permalink / raw)
  To: Zsh Users

[-- 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 --]

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

end of thread, other threads:[~2021-08-17  8:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-04 15:02 <Tab> completion does not insert a slash Peter Slížik
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

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).