diff options
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Unix/Command/_man | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_man b/Completion/Unix/Command/_man index 8f28d34eb..dc5bb1fec 100644 --- a/Completion/Unix/Command/_man +++ b/Completion/Unix/Command/_man @@ -98,9 +98,9 @@ _man_pages() { if ((CURRENT > 2)) || ! zstyle -t ":completion:${curcontext}:manuals.$sect" insert-sections then - compadd "$@" - ${pages%.(?|<->*(|.gz|.bz2|.Z))} + compadd "$@" - ${pages%.((?|<->*)(|.gz|.bz2|.Z))} else - compadd "$@" -P "$sopt$sect " - ${pages%.(?|<->*(|.gz|.bz2|.Z))} + compadd "$@" -P "$sopt$sect " - ${pages%.((?|<->*)(|.gz|.bz2|.Z))} fi } |