Merge pull request #2 from cbrownstein/improve-neomuttrc-imap-example

Set folder variable so '+' expansion works
This commit is contained in:
Stefan
2020-06-21 05:58:25 +02:00
committed by GitHub
2 changed files with 19 additions and 2 deletions

View File

@ -10,9 +10,13 @@ echo $SEP >> $FILE
cat variable/01-002-realname.txt >> $FILE cat variable/01-002-realname.txt >> $FILE
cat variable/01-003-from.txt >> $FILE cat variable/01-003-from.txt >> $FILE
cat variable/02-002-folder.txt >> $FILE
echo "# set folder=\"imaps://domain.tld/\"" >> $FILE
cat variable/02-003-spoolfile.txt >> $FILE cat variable/02-003-spoolfile.txt >> $FILE
echo "# set spoolfile=\"imaps://domain.tld/\"" >> $FILE echo "# set spoolfile=\"+INBOX\"" >> $FILE
cat variable/02-007-mailboxes.txt >> $FILE cat variable/02-007-mailboxes.txt >> $FILE

View File

@ -24,6 +24,19 @@
# set from="mailbox@domain.tld" # set from="mailbox@domain.tld"
# ------------------------------------------------------------------------- # -------------------------------------------------------------------------
# Name: folder
# -------------------------------------------------------------------------
# Specifies the default location of your mailboxes. A “+” or “=” at the
# beginning of a pathname will be expanded to the value of this
# variable. Note that if you change this variable (from the default) value
# you need to make sure that the assignment occurs before you use “+”
# or “=” for any other variables since expansion takes place when han
# dling the “mailboxes” command.
# -------------------------------------------------------------------------
# set folder=~/Mail
# set folder="imaps://domain.tld/"
# -------------------------------------------------------------------------
# Name: spoolfile # Name: spoolfile
# ------------------------------------------------------------------------- # -------------------------------------------------------------------------
# If your spool mailbox is in a non-default place where NeoMutt cannot find # If your spool mailbox is in a non-default place where NeoMutt cannot find
@ -32,7 +45,7 @@
# ------------------------------------------------------------------------- # -------------------------------------------------------------------------
# set spoolfile = "" # set spoolfile = ""
# set spoolfile="imaps://domain.tld/" # set spoolfile="+INBOX"
# ------------------------------------------------------------------------- # -------------------------------------------------------------------------
# Name: mailboxes # Name: mailboxes
# ------------------------------------------------------------------------- # -------------------------------------------------------------------------