Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _getconf additions
- X-seq: zsh-workers 20773
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: PATCH: _getconf additions
- Date: Tue, 1 Feb 2005 15:26:41 -0500
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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 \
Messages sorted by:
Reverse Date,
Date,
Thread,
Author