POWERPIPE_CONFIG_PATH
Sets the search path for configuration files. POWERPIPE_CONFIG_PATH
accepts a colon-separated list of directories.
All configuration files (*.ppc
) will be loaded from each path, with decreasing precedence. The default is the mod location, followed by the config
directory in the POWERPIPE_INSTALL_DIR: .:$POWERPIPE_INSTALL_DIR/config
. This allows you to manage your workspaces and credentials centrally in the ~/.powerpipe/config
directory, but override them in the mod location if desired.
Usage
Set the configuration search path to the current mod location, followed by /powerpipe
export POWERPIPE_CONFIG_PATH=.:/powerpipe
Set the configuration search path to ~/.powerpipe/config
but don't include the mod location
export POWERPIPE_CONFIG_PATH=~/.powerpipe/config
Reset the configuration search path to the default:
unset POWERPIPE_CONFIG_PATH