From: Dennis Haney <davh@davh.dk>
To: zsh-users <zsh-users@sunsite.dk>
Subject: Re: cd ..<tab>?
Date: Tue, 05 Feb 2002 18:19:47 +0100 [thread overview]
Message-ID: <3C601433.7070601@davh.dk> (raw)
In-Reply-To: <020129171248.ZM11938@candle.brasslantern.com>
[-- Attachment #1: Type: text/plain, Size: 1048 bytes --]
Bart Schaefer wrote:
>On Jan 30, 12:10am, Dennis Haney wrote:
>
>>Subject: Re: cd ..<tab>?
>>
>>Sven Wischnowsky wrote:
>>
>>> zstyle ':completion:*' special-dirs ..
>>>
>>>to make `..' be considered a possible match (and hence it will get the
>>>slash appended).
>>>
>>Is there a way to make this work properly with setopt GLOB_DOTS?
>>
>
>Just make the style more specific:
>
> zstyle ':completion:*:(cd|chdir|pushd|popd):*' special-dirs ..
>
How is that going to help me?
>
>You might also check the documentation for the ignore-parents style.
>
ignore-parent works the wrong way...
It want to ignore '..' when it is a stupid choice.
eg.
mkdir Z
cd Z/[tab]
should NOT complete to 'cd Z/../'
(unless CHASE_DOTS is on and 'cd Z/..' will be different from 'cd .')
likewise...
mkdir Z
mkdir Z/Y
cd Z/[tab]
should NOT give me '..' as a choice, but just complete to 'cd Z/Y'
(unless CHASE_DOTS is on and 'cd Z/..' will be different from 'cd .')
--
Dennis
use Inline C => qq{void p(char*g){printf("Just Another %s Hacker\n",g);}};p("Perl");
[-- Attachment #2: Type: text/html, Size: 1880 bytes --]
next prev parent reply other threads:[~2002-02-05 17:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-29 10:20 Bo Thorsen
2002-01-29 10:18 ` Sven Wischnowsky
2002-01-29 23:10 ` Dennis Haney
2002-01-30 1:12 ` Bart Schaefer
2002-02-05 17:19 ` Dennis Haney [this message]
[not found] ` <3C60140C.6020006@davh.dk>
2002-02-05 17:46 ` Bart Schaefer
2002-02-05 18:26 ` Dennis Haney
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=3C601433.7070601@davh.dk \
--to=davh@davh.dk \
--cc=zsh-users@sunsite.dk \
/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).