File: COMPLETION-TCSH

package info (click to toggle)
nmh 1.0.2-9
  • links: PTS
  • area: main
  • in suites: potato
  • size: 3,172 kB
  • ctags: 4,449
  • sloc: ansic: 50,696; sh: 1,799; makefile: 1,192; awk: 74; sed: 17
file content (48 lines) | stat: -rw-r--r-- 1,707 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# This file, to be sourced by tcsh, contains useful command completions for nmh.

# [There's lots more that can be done -- folder name completion is just the most
#  useful ...]

# Note that if you use nested folders, the below completions will not find
# them.  If you are in this boat, you might want to use something like:
#
#     set nmh_mail_dirs = `folder -all -fast -recurse`
#
#     complete anno		c%+%"($nmh_mail_dirs)"%
#     [...]
#
# The problem with that is that new folders you create won't be available for
# completion until you re-source this file.
#
# Note also that if you use '%'s in your folder names, you'll need to use a
# different separator character below.

set nmh_mail_dir = $HOME/`mhparam Path`

complete anno		c%+%D:$nmh_mail_dir%
complete burst		c%+%D:$nmh_mail_dir%
complete comp		c%+%D:$nmh_mail_dir%
complete dist		c%+%D:$nmh_mail_dir%
complete flist		c%+%D:$nmh_mail_dir%
complete folder		c%+%D:$nmh_mail_dir%
complete forw		c%+%D:$nmh_mail_dir%
complete inc		c%+%D:$nmh_mail_dir%
complete mark		c%+%D:$nmh_mail_dir%
complete mhl		c%+%D:$nmh_mail_dir%
complete mhn		c%+%D:$nmh_mail_dir%
complete mhpath		c%+%D:$nmh_mail_dir%
complete next		c%+%D:$nmh_mail_dir%
complete packf		c%+%D:$nmh_mail_dir%
complete pick		c%+%D:$nmh_mail_dir%
complete prev		c%+%D:$nmh_mail_dir%
complete rcvstore	c%+%D:$nmh_mail_dir%
complete refile		c%+%D:$nmh_mail_dir%
complete repl		c%+%D:$nmh_mail_dir%
complete rmf		c%+%D:$nmh_mail_dir%
complete rmm		c%+%D:$nmh_mail_dir%
complete scan		c%+%D:$nmh_mail_dir%
complete send		c%+%D:$nmh_mail_dir%
complete show		c%+%D:$nmh_mail_dir%
complete sortm		c%+%D:$nmh_mail_dir%
complete whatnow	c%+%D:$nmh_mail_dir%
complete whom		c%+%D:$nmh_mail_dir%