From: Kevin McCarthy Date: Tue, 14 May 2019 16:00:46 +0000 (-0700) Subject: Fix sample muttrc to use better quoting practices. X-Git-Tag: mutt-1-12-rel~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=14bc2fc04d645c5051ab086767a694dd63df3767;p=mutt Fix sample muttrc to use better quoting practices. Use single quotes in the password encryption example. For password decryption, put the backquotes inside double quotes to avoid special characters being re-interpreted. --- diff --git a/contrib/sample.muttrc-starter b/contrib/sample.muttrc-starter index fbc1f906..c13a583f 100644 --- a/contrib/sample.muttrc-starter +++ b/contrib/sample.muttrc-starter @@ -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"