Package: zsh Version: 5.0.5-4 Severity: normal Tags: upstream patch The completion rules for shared libraries in nm only match *.so, however most libraries are named *.so.*. One might want to run nm on those too (and might not have the corresponding -dev package with the *.so symlink installed).
I've attached a patch that works for me. Ansgar
>From 5e7dab8645a42f049d44dbf7f973e5fb3b8f2d1e Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt <ans...@debian.org> Date: Wed, 23 Jul 2014 12:20:45 +0200 Subject: [PATCH] Match more shared library names. --- Completion/Unix/Command/_nm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Completion/Unix/Command/_nm b/Completion/Unix/Command/_nm index 5638014..3ceb8c9 100644 --- a/Completion/Unix/Command/_nm +++ b/Completion/Unix/Command/_nm @@ -21,7 +21,7 @@ case $state in _alternative \ "object-files:object file:_path_files -g '*.o'" \ "executable-files:executable file:_path_files -g '*(*)'" \ - "dynamic-libraries:dynamic library:_path_files -g '*.so'" \ + "dynamic-libraries:dynamic library:_path_files -g '*.so(.*)#'" \ "static-libraries:static library:_path_files -g '*.a'" \ "directories:directory:_path_files -g '*(/)'" && ret=0 ;; -- 2.0.1