From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: PATCH: Re: _netscape
Date: Thu, 18 May 2000 13:02:22 +0200 (MET DST) [thread overview]
Message-ID: <200005181102.NAA04256@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Oliver Kiddle's message of Thu, 18 May 2000 10:45:15 +0100
Oliver Kiddle wrote:
> ...
>
> Where things go wrong is when I don't use a quote:
>
> netscape -remote open<tab> completes '\(', subsequent tabs insert more, I would
> expect to see openFile and openURL listed
> netscape -remote openU<tab> works - completes to openURL\(
> netscape -remote openURL\(<tab> also works - it completes URLs.
>
> The first of these is where it isn't workling. The thing which is missing is that I never get the list of matches, just the inserted brackets.
So why do we use `-s', then.
This'll do?
Bye
Sven
Index: Completion/User/_netscape
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/User/_netscape,v
retrieving revision 1.4
diff -u -r1.4 _netscape
--- Completion/User/_netscape 2000/04/11 07:57:57 1.4
+++ Completion/User/_netscape 2000/05/18 11:02:38
@@ -56,15 +56,9 @@
fi
;;
*)
- if [[ -z "$QIPREFIX" ]]; then
- _wanted commands expl 'remote commands' \
- compadd -s'(' -S '' -M 'm:{a-zA-Z}={A-Za-z}' - \
- $remote_commands && ret=0
- else
- _wanted commands expl 'remote commands' \
- compadd -qS '(' -M 'm:{a-zA-Z}={A-Za-z}' - \
- $remote_commands && ret=0
- fi
+ _wanted commands expl 'remote commands' \
+ compadd -qS "${${QIPREFIX:+(}:-\(}" -M 'm:{a-zA-Z}={A-Za-z}' - \
+ $remote_commands && ret=0
;;
esac
fi
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~2000-05-18 11:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-18 11:02 Sven Wischnowsky [this message]
2000-05-19 18:39 ` Oliver Kiddle
2000-05-22 8:37 Sven Wischnowsky
2000-05-23 16:07 ` Oliver Kiddle
2000-05-23 13:15 Sven Wischnowsky
2000-05-23 13:50 ` Oliver Kiddle
2000-05-23 13:58 Sven Wischnowsky
2000-05-24 8:05 Sven Wischnowsky
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=200005181102.NAA04256@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).