Hi Mikhail,
Joel Reicher wrote:
On Feb 3 2011, Mikhail wrote:
Is there any other solution than creating #!/bin/sh script and
putting it in $PATH?
I don't think so, no. MH expects the profile entry to be the name of
an executable; it is interpreting your "command plus args" line as a
single name with whitespaces in it.
I use this.
$ cat ~/.vim/filetype.vim
if exists("did_load_filetypes")
finish
endif
augroup filetypedetect
au! BufRead,BufNewFile /home/ralph/mail/drafts/* setfiletype mail
au! BufRead,BufNewFile /tmp/ci.*.template setfiletype diff
augroup END
$
Cheers, Ralph.
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers