1 # This file, to be sourced by tcsh, contains useful command completions for nmh.
3 # [There's lots more that can be done -- folder name completion is just the most
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:
9 # set nmh_mail_dirs = `folder -all -fast -recurse`
11 # complete anno c%+%"($nmh_mail_dirs)"%
14 # The problem with that is that new folders you create won't be available for
15 # completion until you re-source this file.
17 # Note also that if you use '%'s in your folder names, you'll need to use a
18 # different separator character below.
20 set nmh_mail_dir = $HOME/`mhparam Path`
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 mhpath c%+%D:$nmh_mail_dir%
33 complete next c%+%D:$nmh_mail_dir%
34 complete packf c%+%D:$nmh_mail_dir%
35 complete pick c%+%D:$nmh_mail_dir%
36 complete prev c%+%D:$nmh_mail_dir%
37 complete rcvstore c%+%D:$nmh_mail_dir%
38 complete refile c%+%D:$nmh_mail_dir%
39 complete repl c%+%D:$nmh_mail_dir%
40 complete rmf c%+%D:$nmh_mail_dir%
41 complete rmm c%+%D:$nmh_mail_dir%
42 complete scan c%+%D:$nmh_mail_dir%
43 complete send c%+%D:$nmh_mail_dir%
44 complete show c%+%D:$nmh_mail_dir%
45 complete sortm c%+%D:$nmh_mail_dir%
46 complete whatnow c%+%D:$nmh_mail_dir%