Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 'man' completion
- X-seq: zsh-users 1766
- From: Bruce Stephens <b.stephens@xxxxxxxxx>
- To: ZSH users mailing list <zsh-users@xxxxxxxxxxxxxxx>
- Subject: Re: 'man' completion
- Date: 27 Aug 1998 10:14:02 +0100
- In-reply-to: Gossamer's message of "Thu, 27 Aug 1998 11:51:05 +1000"
- References: <000a01bdd108$27f40910$21c9ca95@xxxxxxxxxxxxxxx> <vbk93v8zwm.fsf@xxxxxxxxxxxxxxx> <980826103628.ZM21060@xxxxxxxxxxxxxxxxxxxxxxx> <19980827115105.A13312@xxxxxxxxxxxxxx>
- Sender: B.Stephens@xxxxxxxxx
Gossamer <gossamer@xxxxxxxxxxxxxx> writes:
> I have a nifty set of completion macros for man pages but unfortunately
> they stop me from getting the filename completion when I'm specifying the
> file directly, eg:
>
> man ./goofey.1
Ah. I think if you stick a -f right after the compctl, then that'll
give you filename completion too.
compctl -f -x 'S[1][2][3][4][5][6][7][8][9]' -k '(1 2 3 4 5 6 7 8 9)' \
- 'R[[1-9nlo]|[1-9](|[a-z]),^*]' -K 'match-man' \
- 's[-M],c[-1,-M]' -g '*(-/)' \
- 's[-P],c[-1,-P]' -c \
- 's[-S],s[-1,-S]' -k '( )' \
- 's[-]' -k '(a d f h k t M P)' \
- 'p[1,-1]' -c + -K 'match-man' \
-- man
Messages sorted by:
Reverse Date,
Date,
Thread,
Author