summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2006-02-20 21:34:04 +0000
committerClint Adams <clint@users.sourceforge.net>2006-02-20 21:34:04 +0000
commit21f98967bf7e41298ccc2935230c0dcaf092194d (patch)
tree38784c205315245648effa1a6e88e7017e592fdd /Completion/Unix
parent99384d8ab4186afcb3df21d27c1875fe0e162973 (diff)
downloadzsh-21f98967bf7e41298ccc2935230c0dcaf092194d.tar.gz
zsh-21f98967bf7e41298ccc2935230c0dcaf092194d.tar.xz
zsh-21f98967bf7e41298ccc2935230c0dcaf092194d.zip
22294: add GNU libc confstrings to getconf completion.
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_getconf7
1 files changed, 7 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_getconf b/Completion/Unix/Command/_getconf
index 13eb51581..e8f9a1b3d 100644
--- a/Completion/Unix/Command/_getconf
+++ b/Completion/Unix/Command/_getconf
@@ -30,6 +30,13 @@ if [[ CURRENT -eq 2 ]]; then
 	  LFS64_CFLAGS LFS64_LDFLAGS LFS64_LIBS LFS64_LINTFLAGS \
 	  && 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 \