about summary refs log tree commit diff
path: root/Completion/Unix/Command/_getconf
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2005-02-01 20:40:39 +0000
committerClint Adams <clint@users.sourceforge.net>2005-02-01 20:40:39 +0000
commitbac7c055c755a962c086827719d4547a6186cd8b (patch)
treefde4046cf66cb113edd7f6f4d7faf618a8d4fb13 /Completion/Unix/Command/_getconf
parentd1d67428480b8fb1b38d3408fad6ca53e14823cc (diff)
downloadzsh-bac7c055c755a962c086827719d4547a6186cd8b.tar.gz
zsh-bac7c055c755a962c086827719d4547a6186cd8b.tar.xz
zsh-bac7c055c755a962c086827719d4547a6186cd8b.zip
* 20773: Completion/Unix/Command/_getconf: additional variables from confstr().
Diffstat (limited to 'Completion/Unix/Command/_getconf')
-rw-r--r--Completion/Unix/Command/_getconf9
1 files changed, 8 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_getconf b/Completion/Unix/Command/_getconf
index 613632c1d..13eb51581 100644
--- a/Completion/Unix/Command/_getconf
+++ b/Completion/Unix/Command/_getconf
@@ -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 @@ if [[ CURRENT -eq 2 ]]; then
 	  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 \