Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Completion for man pages in /usr/local/share
- X-seq: zsh-workers 53249
- From: "Hugo Osvaldo Barrera" <hugo@xxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Completion for man pages in /usr/local/share
- Date: Sun, 08 Dec 2024 15:44:04 +0100
- Archived-at: <https://zsh.org/workers/53249>
- Feedback-id: ib8c04050:Fastmail
- List-id: <zsh-workers.zsh.org>
Hi all,
I have some programs installed from source into /usr/local. Several of these
include man pages, but zsh won't auto-complete man pages in this location.
E.g.:
> find /usr/local/share/man -iname 'pim*'
/usr/local/share/man/man1/pimsync.1
/usr/local/share/man/man5/pimsync.5
/usr/local/share/man/man5/pimsync.conf.5
/usr/local/share/man/man7/pimsync-migration.7
But if I type "man pim<tab>", no completion options are shown. Note that man
itself DOES show man pages from this path, and "man pimsync" works as expected.
This is on Alpine Linux edge, with zsh-5.9-r4 and mandoc-1.14.6-r13.
I checked the Completion/Unix/Command/_man, but my this script is a bit beyond
my capabilities. Have I stumbled upon a bug?
Please do CC me; I am not subscribed to the list.
Thanks,
--
Hugo
Messages sorted by:
Reverse Date,
Date,
Thread,
Author