mirror of
https://github.com/neomutt/samples.git
synced 2025-08-16 10:57:46 +02:00
Merge pull request #2 from cbrownstein/improve-neomuttrc-imap-example
Set folder variable so '+' expansion works
This commit is contained in:
@ -10,9 +10,13 @@ echo $SEP >> $FILE
|
||||
|
||||
cat variable/01-002-realname.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
|
||||
|
||||
echo "# set spoolfile=\"imaps://domain.tld/\"" >> $FILE
|
||||
echo "# set spoolfile=\"+INBOX\"" >> $FILE
|
||||
|
||||
cat variable/02-007-mailboxes.txt >> $FILE
|
||||
|
||||
|
@ -24,6 +24,19 @@
|
||||
|
||||
# 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
|
||||
# -------------------------------------------------------------------------
|
||||
# If your spool mailbox is in a non-default place where NeoMutt cannot find
|
||||
@ -32,7 +45,7 @@
|
||||
# -------------------------------------------------------------------------
|
||||
|
||||
# set spoolfile = ""
|
||||
# set spoolfile="imaps://domain.tld/"
|
||||
# set spoolfile="+INBOX"
|
||||
# -------------------------------------------------------------------------
|
||||
# Name: mailboxes
|
||||
# -------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user