1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-23 07:16:48 +02:00
mu/man/mug.1
Ævar Arnfjörð Bjarmason 18b8ce249f Add support for specifying --muhome via MU_HOME in the environment
When you have multiple mu home directories, e.g. for the use case
detailed in my "Changing mu4e-{maildir,mu-home} from a context hook"
post to the mailing list it's quite inconvenient to have to hammer out
"mu --muhome=.. find .." every time you want to run some ad-hoc
command.

This allows me to set up a screen session where I do searches in mu
directory A in some screen panes, and searches in directory B in
others.

I initially called this MU_MUHOME but then I noticed that the perl
plugin has MUP_MU_HOME for analogous functionality, so I'm just
following its example.

The code I'm adding in mu-util.c is just a copy/paste & adjustment of
the same sort of already tested functionality in
mu_util_guess_maildir() just a few lines earlier.
2017-02-17 11:28:45 +01:00

41 lines
1013 B
Groff

.TH MUG 1 "November 2010" "User Manuals"
.SH NAME
mug \- a graphical user interface for \fBmu\fR mail searches
.SH SYNOPSIS
.B mug [options]
.SH DESCRIPTION
\fBmug\fR is a program for doing e-mail searches, using the \fBmu\fR-backend
for the actual searches and a GTK+ user-interface. \fBmug\fR is considered
merely a toy-demonstration of the mu-framework, but can nevertheless be quite
useful.
If \fBmug\fR finds the \fIbookmarks\fR-file in the mu-home directory, the
bookmarks from this file will be shown in mug as a list of buttons in the left
toolbar.
.SH OPTIONS
.TP
\fB\-\-muhome\fR causes \fBmug\fR to use an alternative directory to read its
database and bookmarks and write its logs. By default, \fBmug\fR uses
whatever the \fBMU_HOME\fR environment variable is set to; if it is
not set, \fI~/.mu\fR is used.
.SH BUGS
Please report bugs if you find them:
.BR https://github.com/djcb/mu/issues
.SH AUTHOR
Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
.SH "SEE ALSO"
.BR mu(1) mu-bookmarks(5)