From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: 3.1.6-test-2: _parameters
Date: Fri, 23 Jul 1999 11:18:10 +0200 (MET DST) [thread overview]
Message-ID: <199907230918.LAA05010@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Sven Wischnowsky's message of Fri, 23 Jul 1999 10:57:06 +0200 (MET DST)
And the same for _main_complete.
I'm still thinking about adding some more special parameters to the
parameter module. Maybe, some day...
Bye
Sven
diff -u oc/Core/_main_complete Completion/Core/_main_complete
--- oc/Core/_main_complete Fri Jul 23 10:58:35 1999
+++ Completion/Core/_main_complete Fri Jul 23 11:14:51 1999
@@ -29,10 +29,15 @@
#
# local _set_options _unset_options
#
-# _set_options=("${(@f)$({ unsetopt kshoptionprint; setopt } 2>/dev/null)}")
-# _unset_options=("${(@f)$({ unsetopt kshoptionprint; unsetopt } 2>/dev/null)}")
+# if zmodload -e parameter; then
+# _set_options=(${(k)options[(R)on]})
+# _unset_options=(${(k)options[(R)off]})
+# else
+# _set_options=("${(@f)$({ unsetopt kshoptionprint; setopt } 2>/dev/null)}")
+# _unset_options=("${(@f)$({ unsetopt kshoptionprint; unsetopt } 2>/dev/null)}")
+# fi
#
-# This is needed because completion function may set options locally
+# This is needed because completion functions may set options locally
# which makes the output of setopt and unsetopt reflect a different
# state than the global one for which you are completing.
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~1999-07-23 9:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-23 9:18 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-07-23 9:22 Sven Wischnowsky
1999-07-23 8:57 Sven Wischnowsky
1999-07-23 7:58 Peter Stephenson
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=199907230918.LAA05010@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).