]> granicus.if.org Git - neomutt/commitdiff
Change sample muttrc path to match other manual references.
authorKevin McCarthy <kevin@8t8.us>
Thu, 9 May 2019 20:25:25 +0000 (13:25 -0700)
committerRichard Russon <rich@flatcap.org>
Fri, 10 May 2019 14:16:40 +0000 (15:16 +0100)
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.

contrib/sample.neomuttrc-starter
doc/manual.xml.head

index 897a22dc320f9ec8d593cd6e9b5586cbb079077f..35dc0042364a9e2fbda9c45b50ed544d198b20c5 100644 (file)
@@ -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
index e116276d19ca0e3abc6007d2a19cbbd97ba5c068..49f5caf1ee76d643890646fc60f8fd561c68265f 100644 (file)
@@ -3318,18 +3318,18 @@ color sidebar_divider   color8  default     <emphasis role="comment"># Dark grey
         To enable <quote>classic mode</quote>, ensure GPGME is disabled and use
         the <literal>gpg.rc</literal> or <literal>smime.rc</literal> files that
         come with mutt.  These are typically installed under
-        <literal>/usr/share/doc/mutt/samples/</literal>.  Source them, either
+        <literal>/usr/local/share/doc/mutt/samples/</literal>.  Source them, either
         directly or by copying them to your .mutt directory and sourcing them.
         Sourcing them directly from
-        <literal>/usr/share/doc/mutt/samples/</literal> has the benefit of
+        <literal>/usr/local/share/doc/mutt/samples/</literal> has the benefit of
         automatically using fixes and security improvements to the command
         invocations, and is recommended.
       </para>
 
 <screen>
 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
 </screen>
 
       <para>