# Overview Bashtic looks for configuration in `$XDG_CONFIG_DIR/bashtic`. If `$XDG_CONFIG_DIR` is not defined it defaults to `$HOME/.config`. Location, backend and pipeline configuration files are kept in directories underneath: ```bash $XDG_CONFIG_DIR/bashtic/locations $XDG_CONFIG_DIR/bashtic/backends $XDG_CONFIG_DIR/bashtic/pipelines ``` You can have both a default location and a default pipeline which will be used by bashtic if no other is specified on the command line. These should be defined in the files: ```bash $XDG_CONFIG_DIR/bashtic/locations/default $XDG_CONFIG_DIR/bashtic/pipelines/default ``` These could also be symlinks. ## Loading configuration The configuration files will be BASH `source`d (.) by bashtic. The values of expected configuration variables will be saved for later use by the bashtic pipelines and functions. Any variables prefixed with `custom_` will also be let through to later stages. Anything else is discarded. You can add any BASH commands you like to the configuration files however it would seem best to keep locations and backends clear of complex logic and save that for your pipelines. ## Next To understand more about configuration please keep reading: * [Locations](Locations) * [Backends](Backends) * [Pipelines](Pipelines)