From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 20124 invoked from network); 10 Nov 2022 15:21:38 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 10 Nov 2022 15:21:38 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1668093698; b=Rcy1sFXhWY5LFxgUt/jKXdIL1LdHWxdEW8Xu/ND/5l+7YaagVMTCbi/uFN/hqO77op9ML6M4V0 ozfhmPcqtSZRC5M2/VDO0ioAAnGTh967w++oOA1KFfzQ69AL6H+4mGgWhmOZpNiRNUY9k/fr4r vDhs5nOm8jq5wC4T3tBwzqk0xEQrtCL9x0BL6bNLSpslItqJGmPyHeubRc/wBP5e7JsKtHiH8p UMibmodyKA7ZmECBHElNppO0AC9+ihWrU2d0bc0uofe/e+QRW7rNM7nOp7C6j3TCLuMmjAlBNf 6CwbBgyw+37nfrCGCHI83UkoEy5vvSG7zmjxuFOotas2jA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (smtpq1.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.96; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1668093698; bh=JphUzd2hFEbcVA7ycDcpX0c6sTLITt8VIhiNBDerV94=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject: References:In-Reply-To:Message-ID:To:From:Date:DKIM-Signature: DKIM-Signature; b=DX7oZz2tPd0IkSMZ7f6nOfgVfwGnJBfU2JUCrVK158bBp6hbtjsGWNz6n2jmC/oaIjp5dWHKlW 2Hlwrtt0EePkw4NPfwETArf0/SibadGk975+L6PuK5Q9IutU5eN3yz9pF77AXK51u2jY+X4G3N FUdWBK79VoKXYJHOFaN7/0jkOdoXkVPwxoL0OQgXqcgHuSYIaH9MPhikA3tyaJArh1t1YElhWG q4KaMmFdlroXwNjx0kOMUuqYAGVwoKCqGmBoJXJjjHatpLHTKPVDEFvvfoWcYmncFBrDE/XY7U 5+i/kIKHdDJR7dn/ZWcnfp6jdxUqUlEn3I/WE9euDiZLtw==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Subject:References:In-Reply-To:Message-ID:To:From: Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=u+8K23cDkJQ5/jNWi/FNGYu/kGFi6NBuGDwRGm8dMgs=; b=WccEGQpXxmA4iZk1OUBUEhGoKS 891j2T61Qi3dUiC3ngDiLTS/AfqFLHcoZvKIpA8rNF0f7+lFr62UheQNuK3oHCeGyHTc1mrm+2gRy pdTew+Iqqg05ylqDQ/rde1wRUkqISf8AFNZ3ARisA+L4HT3W1kIcLdgrVdCV0ROQrpFaUgi5lbV1m B/GcWFpD/PO4WmXDmEEy95YB/e3u2zZoXWvpRzzGxBdqTq6M5eEFEh13r3CUC6m12fIXi96okYSVb sT3dVUaCbd5qNlSgixqoIA4NKdta/CW1ISUQvC7rvhswMIGX7i5vdu1vPI1HOHeJlhm42Qfmsh+rG V0UVYW3w==; Received: by zero.zsh.org with local id 1ot9N3-000JSc-RI; Thu, 10 Nov 2022 15:21:37 +0000 Authentication-Results: zsh.org; iprev=pass (smtpq1.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.96; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none Received: from smtpq1.tb.ukmail.iss.as9143.net ([212.54.57.96]:48394) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1ot9Mb-000J3F-CQ; Thu, 10 Nov 2022 15:21:10 +0000 Received: from [212.54.57.82] (helo=smtp3.tb.ukmail.iss.as9143.net) by smtpq1.tb.ukmail.iss.as9143.net with esmtp (Exim 4.90_1) (envelope-from ) id 1ot9Ma-0004iI-TG for zsh-workers@zsh.org; Thu, 10 Nov 2022 16:21:08 +0100 Received: from oxbe12.tb.ukmail.iss.as9143.net ([172.25.160.143]) by smtp3.tb.ukmail.iss.as9143.net with ESMTP id t9MaocZdbsyQZt9MaoHXVO; Thu, 10 Nov 2022 16:21:08 +0100 X-Env-Mailfrom: p.w.stephenson@ntlworld.com X-Env-Rcptto: zsh-workers@zsh.org X-SourceIP: 172.25.160.143 X-CNFS-Analysis: v=2.4 cv=W/8r6Dak c=1 sm=1 tr=0 ts=636d16e4 cx=a_exe a=pVlFXI3Q25jgZXAaIqG4JA==:117 a=1DWFKdCB1IcA:10 a=IkcTkHD0fZMA:10 a=ZjyAdWuDOD4A:10 a=pGLkceISAAAA:8 a=ZkvPBPLQAAAA:8 a=oqLX1GnxAAAA:8 a=IrOED9ERrgpmJSdysnEA:9 a=QEXdDO2ut3YA:10 a=VHJkEM-m_FEA:10 a=SFr2u9Cu4sbnRqnMvguH:22 a=-OLB4RIvx0J8iZFDVoPi:22 X-Authenticated-Sender: p.w.stephenson@ntlworld.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntlworld.com; s=meg.feb2017; t=1668093668; bh=JphUzd2hFEbcVA7ycDcpX0c6sTLITt8VIhiNBDerV94=; h=Date:From:To:In-Reply-To:References:Subject; b=kqj9K1/iH0vqlafCSuzu1LvaSm1BpNoSP81P1AnUt5vjmywLXqCCo6I+h7MvMu8Wr YNjSoeBlXV8NBb/g+Wg0PrXI4/Iy/p4+HngnNn5UYryIfjsgDqU9S8NB7IE+lMW+sP QJ6Cqi0ifkEqgGe61DTqmb+EKz3o1zytL390AmC+i6CSjmdk1UxHMnQhlgogY2gsMn iL8wNUjT4r/nf06RAIaFlY42eCLXkTQzGEAH5O7p2xnfBw+K6+94lEAHhHEUBSvXpv DQaDM3s9CoEqWL9eO/5LI5EO4JH98rcSTcsFIXpB1oKe088vBHaGClMnd5vvSzbAfn Hv0p4WHs3/Pfw== Date: Thu, 10 Nov 2022 15:21:08 +0000 (GMT) From: Peter Stephenson To: php fan , zsh-workers@zsh.org Message-ID: <2079263085.4873970.1668093668627@mail.virginmedia.com> In-Reply-To: References: Subject: Re: [BUG REPORT] Nonsensical behavior in response to Tab key MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-Mailer: Open-Xchange Mailer X-Originating-IP: 147.161.224.167 X-Originating-Client: open-xchange-appsuite X-CMAE-Envelope: MS4xfA99iixSHRS36XPVm2PEsrvSH0tOXGQ/Cm+mi1CG2a3s85yVP5xgCWZyy9iTzbEEqob7YhQ4gkjRtncXINVSTbxpI2Pm2d948HyfYi11VF7dGw6+ikLy BlWa4q2+2w9XFIrKiXG4/iODIgs09HIFcnAoo+Ajls4OvmzPVEa4yYY+w6FwNsEslzGF6oPEVVSBaTZYoLHXNl3VzuMMfiS5Pf1Oa289E8W5soHMc/cpBcat xlcaBGJ9K37P6w+nukjxpA== X-Seq: 50932 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: This is by no means all that could be said, but just to get started... BTW this is more of a zsh-users topic at this point and there could well be people not on zsh-workers that have some usage tips. On 10/11/2022 14:55 php fan wrote: > And often, in that situation, I get behavior that differs > significantly from other shells. I understand that I have a bias > towards considering the behavior I'm used to "right" and anything new > (zsh's behavior) "wrong", but in most cases I can't understand the > rationale behind zsh's behavior and I'm pretty sure that in many cases > it's plain wrong. Zsh is highly configurable and you'll need to understand the possibilities and how to set it up closest to the way you want before going further down this road. I guess you're using some vanilla configuration, but you should certainly make sure whatever is going on it's running "compinit", or you'll get the old builtin behaviour, which is certainly not recommended. See below if this currently means nothing to you. Apart from the shell options in the shell documentation (a pretty dense read), you could look at the (somewhat dated --- it's many years since I touched it --- but still mostly valid) online user guide, https://zsh.sourceforge.io/Guide/zshguide06.html See further down in section 6.3 if the reference to "compinit" meant nothing. For a more professional production, see Oliver's notes in the From Bash To Zsh book, available everywhere browsers are connected to booksellers. https://www.bash2zsh.com > 1) I am inside a directory that contains the following two directories: > > AddonsLab_LinkBack > AddonsLab_LinkChecker > > plus many others with names starting with "AddonsLab_" > > 2) I start typing "cd Addons" and hit the Tab key > > As expected that gets partially autocompleted until "cd AddonsLab_" and stops > > 3) I continue typing until I have "cd AddonsLab_Link" and I hit Tab again > > 1) It partially autocompletes to "cd AddonsLab_Linkc" ending with a > lowercase "c". That makes no sense whatsoever. That's certainly screwy, but you're not getting basic zsh behaviour here, and I'm not going to try to speculate what is happening. If you're interested enough (sounds like you are) you'll need to backtrack a bit and find out what configuration you do have. Probably best to start from my previous comments (others may have info suggestions). Probably someone in these parts, or zsh-users, knows more about what's set up on your distro, with which I'm not familiar. pws