Discovering Config Files
Harlequin loads config files from the following locations. If it finds multiple files, it merges them, with items listed first taking priority:
- The file located at the path provided by the 
--config-pathCLI option (see below). - Files named 
harlequin.toml,.harlequin.toml, orpyproject.tomlin the current working directory. - Files named 
harlequin.toml,.harlequin.toml, orconfig.tomlin the user’s default config directory, in theharlequinsubdirectory. For example:- Linux: 
$XDG_CONFIG_HOME/harlequin/config.tomlor~/.config/harlequin/config.toml - Mac: 
~/Library/Application Support/harlequin/config.toml - Windows: 
~\AppData\Local\harlequin\config.toml 
 - Linux: 
 - Files named 
harlequin.toml,.harlequin.toml, orpyproject.tomlin the user’s home directory (~). 
Custom Config Path
You can specify a custom path to a config file by invoking Harlequin with the --config-path option:
$ harlequin --config-path /path/to/my/file.toml