From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: Re: pws-10 RE: zsh-3.1.5-pws-9: _path_files and symbolic links
Date: Mon, 1 Mar 1999 16:46:14 +0100 (MET) [thread overview]
Message-ID: <199903011546.QAA15353@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Peter Stephenson's message of Mon, 01 Mar 1999 15:46:28 +0100
Peter Stephenson wrote:
> (Phew, I hope I don't have to rewrite all my completions again...
> Just have to wait and see if Bart excoriates `compgen'.)
(So you have some as yet unrevealed completion functions?)
Phew, I hope I don't have to change all the completion functions again ;-)
> > Ah, tricky. The patch below makes path components be left unchanged
> > only if the rest of the string would produce a match below that
> > directory.
>
> Was that all that needed doing? I knew about this, but didn't complain
> about this because I thought it was a feature which would need a lot of
> work to alter.
My big patch also contained some other fixes in _path_files. Without
them it would indeed be more complicated.
Bye
Sven
diff -u oc/Commands/_most_recent_file Completion/Commands/_most_recent_file
--- oc/Commands/_most_recent_file Mon Mar 1 16:42:45 1999
+++ Completion/Commands/_most_recent_file Mon Mar 1 16:44:50 1999
@@ -1,5 +1,5 @@
#defkeycomp complete-word \C-xm
-local file tilde exptilde
+local file tilde etilde
if [[ $PREFIX = \~*/ ]]; then
tilde=${PREFIX%%/*}
etilde=${~tilde}
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~1999-03-01 15:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-01 15:46 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-03-01 14:45 Sven Wischnowsky
1999-03-01 13:45 Sven Wischnowsky
1999-03-01 14:46 ` Peter Stephenson
1999-03-01 13:39 Sven Wischnowsky
1999-03-01 13:03 Sven Wischnowsky
1999-03-01 13:24 ` Andrej Borsenkow
1999-03-01 14:26 ` Andrej Borsenkow
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=199903011546.QAA15353@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--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).