Go to the first, previous, next, last section, table of contents.


loading rc files

Initialization files are enabled by specifying the program attribute homerc (see section Program Description Attributes). The initialization values are identified by the long option name followed by white space and any associated value. The value, if any, will continue through the end of the last line not continued with a backslash. Leading and trailing white space is stripped.

Initialization files are selected both by the homerc entries and, optionally, via an automatically supplied command line option. The first component of the homerc entry may be an environment variable such as $HOME, or it may also be $$ (two dollar sign characters) to specify the directory of the executable. For example:

homerc = "$$/../share/autogen";

The initialization files are processed in the order they are specified by the homerc attribute, so that each new file will normally override the settings of the previous files. A few options may be marked for immediate action (see section Immediate Action Attributes). Any such options are acted upon in reverse order. The disabled load-opts (--no-load-opts) option, for example, is an immediate action option. Its presence in the last homerc file will prevent the processing of any prior homerc files.

Further initialization file processing can be suppressed by specifying --no-load-opts on the command line, or PROGRAM_LOAD_OPTS=no in the environment, or no-load-opts in any of the specified homerc files.

will cause the AutoOpts library to look in the normal autogen datadir for an initialization file.


Go to the first, previous, next, last section, table of contents.