From: Kevin McCarthy Date: Thu, 9 May 2019 20:25:25 +0000 (-0700) Subject: Change sample muttrc path to match other manual references. X-Git-Tag: 2019-10-25~215^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f29410ad84536d111e8875100fc9039498266205;p=neomutt Change sample muttrc path to match other manual references. The other parts of the manual refer to /usr/local/share/doc in their examples. For consistency, change the starter muttrc and manual entry to do the same. In the future, we may wish to have a config variable instead, so users don't have to worry about system vs locally installed paths when sourcing the gpg.rc, for instance. --- diff --git a/contrib/sample.neomuttrc-starter b/contrib/sample.neomuttrc-starter index 897a22dc3..35dc00423 100644 --- a/contrib/sample.neomuttrc-starter +++ b/contrib/sample.neomuttrc-starter @@ -100,7 +100,7 @@ set query_command = "/usr/bin/lbdbq" # GnuPG # unset crypt_use_gpgme -source /usr/share/doc/neomutt/samples/gpg.rc +source /usr/local/share/doc/neomutt/samples/gpg.rc set pgp_default_key = "0x1234567890ABCDEF" set crypt_opportunistic_encrypt set postpone_encrypt diff --git a/doc/manual.xml.head b/doc/manual.xml.head index e116276d1..49f5caf1e 100644 --- a/doc/manual.xml.head +++ b/doc/manual.xml.head @@ -3318,18 +3318,18 @@ color sidebar_divider color8 default # Dark grey To enable classic mode, ensure GPGME is disabled and use the gpg.rc or smime.rc files that come with mutt. These are typically installed under - /usr/share/doc/mutt/samples/. Source them, either + /usr/local/share/doc/mutt/samples/. Source them, either directly or by copying them to your .mutt directory and sourcing them. Sourcing them directly from - /usr/share/doc/mutt/samples/ has the benefit of + /usr/local/share/doc/mutt/samples/ has the benefit of automatically using fixes and security improvements to the command invocations, and is recommended. unset crypt_use_gpgme -source /usr/share/doc/mutt/samples/gpg.rc -source /usr/share/doc/mutt/samples/smime.rc +source /usr/local/share/doc/mutt/samples/gpg.rc +source /usr/local/share/doc/mutt/samples/smime.rc