diff options
author | Ivy Foster <ivy.foster@gmail.com> | 2016-09-01 18:50:20 -0500 |
---|---|---|
committer | Ivy Foster <ivy.foster@gmail.com> | 2016-09-01 18:50:20 -0500 |
commit | ca8cef1660ad89ab488a22dc50eeb7cd77222c6e (patch) | |
tree | 625d716bafdf3a46c16dffbf4dfddc2a2ef02d03 /man | |
parent | 8d3fa82d8246a08d2c7899963ad7cf61b7a4563c (diff) | |
download | mblaze-ca8cef1660ad89ab488a22dc50eeb7cd77222c6e.tar.gz mblaze-ca8cef1660ad89ab488a22dc50eeb7cd77222c6e.tar.xz mblaze-ca8cef1660ad89ab488a22dc50eeb7cd77222c6e.zip |
Add $MBLAZE environment variable to set profile location
As a side benefit, all callers of blaze822_home_file need only pass the filename, so the base directory is set in only one place.
Diffstat (limited to 'man')
-rw-r--r-- | man/mblaze.7 | 4 | ||||
-rw-r--r-- | man/mcom.1 | 8 | ||||
-rw-r--r-- | man/mgenmid.1 | 4 | ||||
-rw-r--r-- | man/mseq.1 | 8 | ||||
-rw-r--r-- | man/mshow.1 | 2 |
5 files changed, 17 insertions, 9 deletions
diff --git a/man/mblaze.7 b/man/mblaze.7 index f87691a..ceafe4e 100644 --- a/man/mblaze.7 +++ b/man/mblaze.7 @@ -144,9 +144,9 @@ As usual with pipes, the sky is the limit. deals with messages (which are files), folders (which are Maildir folders), sequences (which are newline-separated lists of messages, possibly persisted on disk in -.Pa ~/.mblaze/seq ) , +.Pa ${MBLAZE:-$HOME/.mblaze}/seq ) , and the current message (kept as a symlink in -.Pa ~/.mblaze/cur ) . +.Pa ${MBLAZE:-$HOME/.mblaze}/cur ) . .Pp Messages in the persisted sequence can be referred to using special syntax as explained in diff --git a/man/mcom.1 b/man/mcom.1 index 69ea5d4..72352c2 100644 --- a/man/mcom.1 +++ b/man/mcom.1 @@ -47,17 +47,21 @@ Delete the draft and quit. .Bl -tag -width Ds .It Ev EDITOR Editor used to compose mail. +.It Ev MBLAZE +Directory containing mblaze configuration. +(Default: +.Pa $HOME/.mblaze) .El .Sh FILES .Bl -tag -width Ds .It Pa snd.* Draft messages (kept in current directory) -.It Pa ~/.mblaze/headers +.It Pa ${MBLAZE:-$HOME/.mblaze}/headers Default headers for each mail. (Put your .Sq Li From\&: line there.) -.It Pa ~/.signature +.It Pa ${MBLAZE:-$HOME/.mblaze}/signature || ~/.signature Default signature. .El .Sh EXIT STATUS diff --git a/man/mgenmid.1 b/man/mgenmid.1 index 6f70fee..9d8f646 100644 --- a/man/mgenmid.1 +++ b/man/mgenmid.1 @@ -19,7 +19,7 @@ The fully qualified domain name is computed by: Using .Sq Li "FQDN:" from -.Pa "~/.mblaze/profile" +.Pa "${MBLAZE:-$HOME/.mblaze}/profile" (if set). .It Resolving the current hostname. @@ -27,7 +27,7 @@ Resolving the current hostname. Using the host part of the address in .Sq Li "Local-Mailbox:" from -.Pa "~/.mblaze/profile" +.Pa "${MBLAZE:-$HOME/.mblaze}/profile" (if set). .El .Pp diff --git a/man/mseq.1 b/man/mseq.1 index 50b1029..604b46a 100644 --- a/man/mseq.1 +++ b/man/mseq.1 @@ -68,10 +68,14 @@ and exit. .El .Sh ENVIRONMENT .Bl -tag -width Ds +.It Ev MBLAZE +Directory containing mblaze configuration. +(Default: +.Pa $HOME/.mblaze) .It Ev MAILCUR Symbolic link referring to the current message. (Default: -.Pa ~/.mblaze/cur ) +.Pa ${MBLAZE:-$HOME/.mblaze}/cur ) .It Ev MAILDOT When set to a file name, overrides the current message. (Prefer using @@ -80,7 +84,7 @@ instead.) .It Ev MAILSEQ File were the sequence is stored. (Default: -.Pa ~/.mblaze/seq ) +.Pa ${MBLAZE:-$HOME/.mblaze}/seq ) .El .Sh EXIT STATUS .Ex -std diff --git a/man/mshow.1 b/man/mshow.1 index f58d2ec..90cba25 100644 --- a/man/mshow.1 +++ b/man/mshow.1 @@ -99,7 +99,7 @@ parts, and re-encodes them into UTF-8 if necessary. .Pp Other filters can be specified in the file -.Pa ~/.mblaze/filter +.Pa ${MBLAZE:-$HOME/.mblaze}/filter in the format .D1 Ar type/subtype Ns Li \&: Ar command or |