zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: _getconf additions
@ 2005-02-01 20:26 Clint Adams
  0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2005-02-01 20:26 UTC (permalink / raw)
  To: zsh-workers

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 \


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-01 20:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-01 20:26 PATCH: _getconf additions Clint Adams

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).