remove unnecessary prefix setting up msmtp. (#401)

the prefix is not correct at least for Ubuntu distro. Since doc clearly
states the dependencis. We assume msmpt is on the PATH environment.

Co-authored-by: Lingyu Zhu <lynuszhu@gmail.com>
This commit is contained in:
Lingyu Zhu 2020-04-05 21:11:55 +08:00 committed by GitHub
parent db9dae95a3
commit 789f593272
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
bin/mw
View File

@ -101,7 +101,7 @@ mutt_profile="# vim: filetype=neomuttrc
# muttrc file for account $title # muttrc file for account $title
set realname = \"$realname\" set realname = \"$realname\"
set from = \"$fulladdr\" set from = \"$fulladdr\"
set sendmail = \"$prefix/bin/msmtp -a $title\" set sendmail = \"msmtp -a $title\"
alias me $realname <$fulladdr> alias me $realname <$fulladdr>
set folder = \"imaps://$fulladdr@$imap:$iport\" set folder = \"imaps://$fulladdr@$imap:$iport\"
set imap_user = \"$login\" set imap_user = \"$login\"