diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2007-06-29 08:51:57 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2007-06-29 08:51:57 +0000 |
commit | 622d3e7f1d222cd97422ebea6f176714a3305579 (patch) | |
tree | 784a39f9ce9d0c2fc41bb2abebe773b25059b159 /Completion/Unix/Type | |
parent | 0e7a50be36a3236026c23700756312c7d065a013 (diff) | |
download | zsh-622d3e7f1d222cd97422ebea6f176714a3305579.tar.gz zsh-622d3e7f1d222cd97422ebea6f176714a3305579.tar.xz zsh-622d3e7f1d222cd97422ebea6f176714a3305579.zip |
23611: new completions for ldd and LD_DEBUG on Solaris and Linux
Diffstat (limited to 'Completion/Unix/Type')
-rw-r--r-- | Completion/Unix/Type/.distfiles | 2 | ||||
-rw-r--r-- | Completion/Unix/Type/_ld_debug | 39 |
2 files changed, 40 insertions, 1 deletions
diff --git a/Completion/Unix/Type/.distfiles b/Completion/Unix/Type/.distfiles index b5fc39b24..713e0e8c2 100644 --- a/Completion/Unix/Type/.distfiles +++ b/Completion/Unix/Type/.distfiles @@ -2,7 +2,7 @@ DISTFILES_SRC=' .distfiles _arch_archives _arch_namespace _canonical_paths _bind_addresses -_dict_words _list_files +_dict_words _ld_debug _list_files _mailboxes _perl_modules _tex _diff_options _my_accounts _pids _texi _dir_list _newsgroups _ports _tilde_files diff --git a/Completion/Unix/Type/_ld_debug b/Completion/Unix/Type/_ld_debug new file mode 100644 index 000000000..94593eff0 --- /dev/null +++ b/Completion/Unix/Type/_ld_debug @@ -0,0 +1,39 @@ +#compdef -value-,LD_DEBUG,-default- + +local vals + +vals=( + 'libs[display library search paths]' + 'files[show processing of files and libraries]' + 'bindings[display symbol binding]' + 'reloc[display relocation processing]' + 'symbols[display symbol table processing]' + 'unused[show unused files]' + 'versions[show version processing]' + 'help[display help message]' +) + +case $OSTYPE in + solaris*) + vals+=( + 'basic[provide basic trace information/warnings]' + 'cap[display hardware/software capability processing]' + 'detail[provide more info in conjunction with other options]' + 'demangle[display C++ symbol names in their demangled form]' + 'init[display init and fini processing]' + 'long[display long object names without truncation]' + 'move[display move section processing]' + 'segments[display available output segments and address/offset processing]' + 'strtab[display information about string table compression]' + 'tls[display TLS processing info]' + ) + ;; + linux*) + vals+=( + 'all[combine all options]' + 'statistics[display relocation statistics]' + ) + ;; +esac +_values -s , capability $vals + |