zsh-workers
 help / color / mirror / code / Atom feed
From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh-workers@sunsite.auc.dk
Subject: Re: completion after ../
Date: 20 Jan 2000 13:34:32 +0900	[thread overview]
Message-ID: <rsq66wpmkdj.fsf@crane.jaist.ac.jp> (raw)
In-Reply-To: <rsqwvp5ucjx.fsf@crane.jaist.ac.jp>

In article <rsqwvp5ucjx.fsf@crane.jaist.ac.jp>,
  Tanaka Akira <akr@jaist.ac.jp> writes:

> Hm.  In general, I don't want to complete a directory which is already
> described in the word, with first <TAB> at least.  Most frequently
> happened example is X/../Z where X/../Z is X.

I rethought the problem and I found another idea to describe it: A
directory which shouldn't complete with first <TAB> is the directory
which go back path.  Of course, this is subset of previous idea but
it's enough for me.  The directory X/Y/Z is a such directory iff [[ X
-ef X/Y/Z ]] where Y and Z contains no `/'.  Note that if there is no
symlinks and in completion context, this happens only when Y == `..'.
-- 
Tanaka Akira


  reply	other threads:[~2000-01-20  4:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-19 16:18 Sven Wischnowsky
2000-01-19 18:44 ` Tanaka Akira
2000-01-20  4:34   ` Tanaka Akira [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-01-19  9:51 Tanaka Akira

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=rsq66wpmkdj.fsf@crane.jaist.ac.jp \
    --to=akr@jaist.ac.jp \
    --cc=zsh-workers@sunsite.auc.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).