Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
fc -l -m 'some pattern'
- X-seq: zsh-users 4757
- From: Nick Croft <nicko@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: fc -l -m 'some pattern'
- Date: Tue, 19 Mar 2002 22:53:46 +1100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organisation: Theme and Variations
I'm new at using zsh. Working through a tutorial.
I read that
Using the -m flag in conjunction with -l, you can specify a pattern.
(don't forget to quote the pattern!). Then, only commands matching
the pattern will be displayed.
So for example, if
fc -l -300 -285
shows that I used vim in a command a number of times, to isolate only the
'vim' occurrences should I not type
fc -lm "vim" -300 -285 ?
Or do you need the entire command line? (That would be a severe
limitation I think).
Thanks,
Nick
Messages sorted by:
Reverse Date,
Date,
Thread,
Author