diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Completion/Unix/Command/_getconf | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 05de86bab..9024bebda 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,9 @@ * unposted: Completion/Debian/Command/.distfiles: add _linda. + * 22294: Completion/Unix/Command/_getconf: add GNU libc + confstrings to getconf completion. + 2006-02-20 Peter Stephenson <pws@csr.com> * unposted: 4.3.0-dev-5. 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 \ |