From dc0eaaa97aca85ebe2ae9d17c1435f856fb67224 Mon Sep 17 00:00:00 2001 From: Dan Harkless Date: Tue, 9 May 2000 02:36:42 +0000 Subject: [PATCH] After nmh 1.0.4, moved from top-level 'nmh' directory to 'nmh/docs'. --- docs/COMPLETION-TCSH | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 docs/COMPLETION-TCSH diff --git a/docs/COMPLETION-TCSH b/docs/COMPLETION-TCSH new file mode 100644 index 0000000..f75933e --- /dev/null +++ b/docs/COMPLETION-TCSH @@ -0,0 +1,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% -- 1.7.10.4