Repository navigation
|
The docs are clear Line 5 in 7bea415 but can I make Lazygit recognise If I stick FWIW, there seem to be numerous users who refer to config as |
Replies: 1 comment 1 reply
|
You can use lazygit --use-config-file "$HOME/.config/lazygit/config.yaml"That file must already exist. The current config loader treats an explicitly selected, missing file as an error. For automatic discovery, the default filename is still So the distinction is: explicitly loading a Sources: CLI option declaration ( |

You can use
config.yamlwithout setting an environment variable yourself by selecting it with the CLI option:That file must already exist. The current config loader treats an explicitly selected, missing file as an error.
For automatic discovery, the default filename is still
config.yml; placing onlyconfig.yamlin the directory does not make it the default. That explains why an ordinarylazygitinvocation createsconfig.ymlinstead. Also,--use-config-dirchanges the directory, not the default filename.So the distinction is: explicitly loading a
.yamlfile is supported; automatically choosing that filename is not currently …