On Thu, 2020-05-14 at 21:59 +0200, Ondřej Lysoněk wrote: > quilt loads /etc/quilt.quiltrc if ~/.quiltrc doesn't exist. Document > it. > > Signed-off-by: Ondřej Lysoněk <[email protected]> > --- > doc/main.tex | 3 ++- > doc/quilt.1.in | 7 ++++--- > 2 files changed, 6 insertions(+), 4 deletions(-) > > diff --git a/doc/main.tex b/doc/main.tex > index 24f863e..363d6f6 100644 > --- a/doc/main.tex > +++ b/doc/main.tex > @@ -672,7 +672,8 @@ the series file in this case. > \section{Customizing Quilt} > > Upon startup, quilt evaluates the file \textsf{.quiltrc} in the user's > -home directory, or the file specified with the \textsf{-{}-quiltrc} option. > +home directory, \textsf{/etc/quilt.quiltrc} if the former file does not > +exist, or the file specified with the \textsf{-{}-quiltrc} option. > This file is a regular bash script. Default options can be passed to > any command by defining a \textsf{QUILT\_\textit{COMMAND}\_ARGS} variable > (for example, \textsf{QUILT\_DIFF\_ARGS="-{}-color=auto"} causes the output > diff --git a/doc/quilt.1.in b/doc/quilt.1.in > index c0e8b05..3c23043 100644 > --- a/doc/quilt.1.in > +++ b/doc/quilt.1.in > @@ -178,9 +178,10 @@ Please refer to the pdf documentation for a full example > of use. > .SH CONFIGURATION FILE > > Upon startup, quilt evaluates the file .quiltrc in the user's home > -directory, or the file specified with the --quiltrc option. This file > -is a regular bash script. Default options can be passed to any COMMAND > -by defining a QUILT_${COMMAND}_ARGS variable. For example, > +directory, /etc/quilt.quiltrc if the former file does not exist, or > +the file specified with the --quiltrc option. This file is a regular > +bash script. Default options can be passed to any COMMAND by defining > +a QUILT_${COMMAND}_ARGS variable. For example, > QUILT_DIFF_ARGS="--color=auto" causes the output of quilt diff to be > syntax colored when writing to a terminal.
The support of /etc/quilt.quiltrc was already mentioned in section COMMON OPTIONS TO ALL COMMANDS of the man page, but I agree it could be documented in a more visible way. Applied, thanks. -- Jean Delvare SUSE L3 Support _______________________________________________ Quilt-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/quilt-dev
