]> granicus.if.org Git - mutt/commitdiff
Fix sample muttrc to use better quoting practices.
authorKevin McCarthy <kevin@8t8.us>
Tue, 14 May 2019 16:00:46 +0000 (09:00 -0700)
committerKevin McCarthy <kevin@8t8.us>
Tue, 14 May 2019 16:00:46 +0000 (09:00 -0700)
Use single quotes in the password encryption example.

For password decryption, put the backquotes inside double quotes to
avoid special characters being re-interpreted.

contrib/sample.muttrc-starter

index fbc1f9069387c1386abd64880969f9e5e7166a15..c13a583f4bf73f8fce7f2440fbe73f35831ef109 100644 (file)
@@ -37,8 +37,8 @@ mailboxes ! +mutt +family +work
 set imap_user = ".....@gmail.com"
 
 # To avoid storing your password in the .muttrc:
-# echo -n "mypassword" | gpg --encrypt -r 0x1234567890ABCDEF > ~/.mutt/account.gpg
-set imap_pass = `gpg --batch -q --decrypt ~/.mutt/account.gpg`
+# echo -n 'mypassword' | gpg --encrypt -r 0x1234567890ABCDEF > ~/.mutt/account.gpg
+set imap_pass = "`gpg --batch -q --decrypt ~/.mutt/account.gpg`"
 
 set folder = imaps://imap.gmail.com/
 set spoolfile = "+INBOX"