diff options
author | Clint Adams <clint@users.sourceforge.net> | 2005-02-01 20:40:39 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2005-02-01 20:40:39 +0000 |
commit | bac7c055c755a962c086827719d4547a6186cd8b (patch) | |
tree | fde4046cf66cb113edd7f6f4d7faf618a8d4fb13 | |
parent | d1d67428480b8fb1b38d3408fad6ca53e14823cc (diff) | |
download | zsh-bac7c055c755a962c086827719d4547a6186cd8b.tar.gz zsh-bac7c055c755a962c086827719d4547a6186cd8b.tar.xz zsh-bac7c055c755a962c086827719d4547a6186cd8b.zip |
* 20773: Completion/Unix/Command/_getconf: additional variables from confstr().
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Command/_getconf | 9 |
2 files changed, 13 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 6de969f92..62270a2c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-02-01 Clint Adams <clint@zsh.org> + + * 20773: Completion/Unix/Command/_getconf: additional variables + from confstr(). + 2005-02-01 Peter Stephenson <pws@csr.com> * Peter A. Castro: 20759 updated as 20760 and 20765: configure.ac, 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 \ |