From: Clint Adams <clint@zsh.org>
To: zsh-workers@sunsite.dk
Subject: PATCH: _getconf additions
Date: Tue, 1 Feb 2005 15:26:41 -0500 [thread overview]
Message-ID: <20050201202641.GA5678@scowler.net> (raw)
This isn't complete.
It didn't seem wortwhile to do _pick_variant for the two GNU vars.
Index: Completion/Unix/Command/_getconf
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_getconf,v
retrieving revision 1.1
diff -u -r1.1 _getconf
--- Completion/Unix/Command/_getconf 2 Apr 2001 11:51:35 -0000 1.1
+++ Completion/Unix/Command/_getconf 1 Feb 2005 20:08:13 -0000
@@ -3,7 +3,7 @@
local expl ret=1
if [[ CURRENT -eq 2 ]]; then
- _tags syswideconfig pathconfig standardsconfig
+ _tags syswideconfig pathconfig standardsconfig confstring
while _tags; do
_requested -V syswideconfig expl 'systemwide configuration variables' \
@@ -23,6 +23,13 @@
POSIX2_C_DEV POSIX2_FORT_DEV POSIX2_FORT_RUN POSIX2_LOCALEDEF \
POSIX2_SW_DEV _XOPEN_VERSION && ret=0
+ _requested -V confstring \
+ expl 'configuration-dependent string variables' \
+ compadd -S '' PATH GNU_LIBC_VERSION GNU_LIBPTHREAD_VERSION \
+ LFS_CFLAGS LFS_LDFLAGS LFS_LIBS LFS_LINTFLAGS \
+ LFS64_CFLAGS LFS64_LDFLAGS LFS64_LIBS LFS64_LINTFLAGS \
+ && ret=0
+
_requested pathconfig &&
while _next_label -V pathconfig expl 'system path configuration variables'; do
compadd "$expl[@]" -S '' PIPE_BUF _POSIX_CHOWN_RESTRICTED \
reply other threads:[~2005-02-01 20:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20050201202641.GA5678@scowler.net \
--to=clint@zsh.org \
--cc=zsh-workers@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).