zsh-users
 help / color / mirror / code / Atom feed
From: Ray Andrews <rayandrews@eastlink.ca>
To: zsh-users@zsh.org
Subject: Re: Reading difficult directory name correctly:
Date: Thu, 10 Dec 2020 14:23:04 -0800	[thread overview]
Message-ID: <5323a95a-3ae6-427d-f0b1-37364484ec6f@eastlink.ca> (raw)
In-Reply-To: <CAH+w=7a_t5yM18dFYiHoLcOtSStVDOD39HzJ_z-uF4fA4nEsow@mail.gmail.com>

On 2020-12-10 2:00 p.m., Bart Schaefer wrote:
> On Thu, Dec 10, 2020 at 1:48 PM Ray Andrews <rayandrews@eastlink.ca> wrote:
>> Tab completion seems to put backslashes where needed but the " _files  "
>> is left off
> That should only happen if there's an ambiguity, i.e., another file or
> directory with the same name up to but not including the "_files"
> part.
Right you are there's a file:

     Sky above 49°30'N 123°30'W at Sat 2020 Oct 3 5:35.html

But shouldn't it  go into into it's selection mode?  I keep pressing tab 
until I get the completion I want? The completion seems unaware of the 
ambiguity as far as offering me the choices.  Mind ... the command is " 
rm -r " thus expecting a directory and the other item is a file.  Sounds 
like a logical lapse.  Some time ago I turned off all my 'smart' 
completions -- being a simple soul I just want completions on local 
files without any filtering  but .... dunno, maybe that's part of it.  
But then I'd expect it to either complete with the directory, OR offer 
me manual completion.



>
> Running _complete_debug with ctrl-x? may provide some insight here.
>
Pardon Bart, exactly how do I do that?



  reply	other threads:[~2020-12-10 22:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-10 21:47 Ray Andrews
2020-12-10 22:00 ` Bart Schaefer
2020-12-10 22:23   ` Ray Andrews [this message]
2020-12-10 22:32     ` Bart Schaefer
2020-12-11  1:25       ` Ray Andrews

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=5323a95a-3ae6-427d-f0b1-37364484ec6f@eastlink.ca \
    --to=rayandrews@eastlink.ca \
    --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).