diff options
author | Ryooooooga <eial5q265e5@gmail.com> | 2022-07-02 19:53:54 +0900 |
---|---|---|
committer | Ryooooooga <eial5q265e5@gmail.com> | 2022-07-02 19:53:54 +0900 |
commit | 60049f8f4f657e26835704f23c800761b912c73b (patch) | |
tree | 540fb92872e978d6a59826ffca00b17ecde5f621 /docs/Config.md | |
parent | f565290737ee44b40ebc59ff72c10f3c48c5e6f6 (diff) |
docs(Config.md): fix docs on specifying config file
Diffstat (limited to 'docs/Config.md')
-rw-r--r-- | docs/Config.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/Config.md b/docs/Config.md index 011b9fde4..42c4adc7d 100644 --- a/docs/Config.md +++ b/docs/Config.md @@ -294,16 +294,16 @@ os: ### Overriding default config file location -To override the default config directory, use `$CONFIG_DIR="~/.config/lazygit"`. This directory contains the config file in addition to some other files lazygit uses to keep track of state across sessions. +To override the default config directory, use `CONFIG_DIR="$HOME/.config/lazygit"`. This directory contains the config file in addition to some other files lazygit uses to keep track of state across sessions. To override the individual config file used, use the `--use-config-file` arg or the `LG_CONFIG_FILE` env var. If you want to merge a specific config file into a more general config file, perhaps for the sake of setting some theme-specific options, you can supply a list of comma-separated config file paths, like so: ```sh -lazygit --use-config-file=~/.base_lg_conf,~/.light_theme_lg_conf +lazygit --use-config-file="$HOME/.base_lg_conf,$HOME/.light_theme_lg_conf" or -LG_CONFIG_FILE="~/.base_lg_conf,~/.light_theme_lg_conf" lazygit +LG_CONFIG_FILE="$HOME/.base_lg_conf,$HOME/.light_theme_lg_conf" lazygit ``` ### Recommended Config Values |