bug #18630, #18631, #18632, #18634: various patches from Craig Leres
[mmh] / docs / COMPLETION-TCSH
1 # This file, to be sourced by tcsh, contains useful command completions for nmh.
2
3 # [There's lots more that can be done -- folder name completion is just the most
4 #  useful ...]
5
6 # Note that if you use nested folders, the below completions will not find
7 # them.  If you are in this boat, you might want to use something like:
8 #
9 #     set nmh_mail_dirs = `folder -all -fast -recurse`
10 #
11 #     complete anno             c%+%"($nmh_mail_dirs)"%
12 #     [...]
13 #
14 # The problem with that is that new folders you create won't be available for
15 # completion until you re-source this file.
16 #
17 # Note also that if you use '%'s in your folder names, you'll need to use a
18 # different separator character below.
19
20 set nmh_mail_dir = $HOME/`mhparam Path`
21
22 complete anno           c%+%D:$nmh_mail_dir%
23 complete burst          c%+%D:$nmh_mail_dir%
24 complete comp           c%+%D:$nmh_mail_dir%
25 complete dist           c%+%D:$nmh_mail_dir%
26 complete flist          c%+%D:$nmh_mail_dir%
27 complete folder         c%+%D:$nmh_mail_dir%
28 complete forw           c%+%D:$nmh_mail_dir%
29 complete inc            c%+%D:$nmh_mail_dir%
30 complete mark           c%+%D:$nmh_mail_dir%
31 complete mhl            c%+%D:$nmh_mail_dir%
32 complete mhn            c%+%D:$nmh_mail_dir%
33 complete mhpath         c%+%D:$nmh_mail_dir%
34 complete next           c%+%D:$nmh_mail_dir%
35 complete packf          c%+%D:$nmh_mail_dir%
36 complete pick           c%+%D:$nmh_mail_dir%
37 complete prev           c%+%D:$nmh_mail_dir%
38 complete rcvstore       c%+%D:$nmh_mail_dir%
39 complete refile         c%+%D:$nmh_mail_dir%
40 complete repl           c%+%D:$nmh_mail_dir%
41 complete rmf            c%+%D:$nmh_mail_dir%
42 complete rmm            c%+%D:$nmh_mail_dir%
43 complete scan           c%+%D:$nmh_mail_dir%
44 complete send           c%+%D:$nmh_mail_dir%
45 complete show           c%+%D:$nmh_mail_dir%
46 complete sortm          c%+%D:$nmh_mail_dir%
47 complete whatnow        c%+%D:$nmh_mail_dir%
48 complete whom           c%+%D:$nmh_mail_dir%