zsh-workers
 help / color / mirror / code / Atom feed
From: Halbeno <halbeno@protonmail.com>
To: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Tab-completion bug
Date: Fri, 11 Aug 2017 20:17:32 -0400	[thread overview]
Message-ID: <20Fbz51JkQbgyboJRGRbkJN6_Ppjm3gLH8_5q3wtTB_Gz6eCLSJbR4E05xS_2Uptz9iBm3k2xPLl8CYOJHy4GIk47UlhrRkL0FkJJahwgN0=@protonmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1136 bytes --]

I have a folder named '\.*' (without the 's) that zsh seems to have trouble with.
I am running ArchLinux, with zsh version "zsh 5.3.1 (x86_64-unknown-linux-gnu)".

Minimal test case: mkdir \\.\*; mkdir \\.\*/a; mkdir \\.\*/b
Then: ls \\[tab repeatedly]

With grml-zsh-config, it changes to "ls \\\*", then another tab shows "No matches for: `arguments', `files', or `file'", then another tab changes it to "ls \\.\*" and subsequent tabs alternate between "ls \\.\*/" and "ls \\.\*" instead of showing inner folders.
With nothing but comments in .zshrc and grml-zsh-config uninstalled, it works fine.
With a mostly-default config made with zsh-newuser-install, https://ptpb.pw/y6S6 , it changes to "\\\*" instead of the correct "\\.\*",  and subsequent tabs merely beep.

zsh --noglobalrcs doesn't seem to help, and in the #zsh IRC channel else mentioned they had the same behaviour:
"<FoH> oh.  i'm getting the same behaviour (under 5.0.2).  but it works correctly under  zsh -f
<FoH> interesting
<FoH> after i  autoload -Uz compinit && compinit  i get the borked behaviour"

Sent with [ProtonMail](https://protonmail.com) Secure Email.

                 reply	other threads:[~2017-08-12  0:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='20Fbz51JkQbgyboJRGRbkJN6_Ppjm3gLH8_5q3wtTB_Gz6eCLSJbR4E05xS_2Uptz9iBm3k2xPLl8CYOJHy4GIk47UlhrRkL0FkJJahwgN0=@protonmail.com' \
    --to=halbeno@protonmail.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).