diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-05-24 16:18:15 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-05-25 15:02:41 +0000 |
| commit | bc7214cd885f08306f2fa833af2b5c72a6cc88c4 (patch) | |
| tree | add02e9ab9463a72c3d8428a38d4baaf8202a475 /doc/foot.ini.5.scd | |
| parent | main: minor rewording of non-UTF8 locale warnings and errors (diff) | |
config: use $HOME instead of getpwuid() to retrieve users’s home dir
When searching for foot.ini, use $HOME instead of getpwuid() to
retrieve the user’s home directory.
Diffstat (limited to 'doc/foot.ini.5.scd')
| -rw-r--r-- | doc/foot.ini.5.scd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index 8aa63d2f..9c7ccf29 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -15,7 +15,7 @@ foot will search for a configuration file in the following locations, in this order: - *XDG_CONFIG_HOME/foot/foot.ini* (defaulting to - *~/.config/foot/foot.ini* if unset) + *$HOME/.config/foot/foot.ini* if unset) - *XDG_CONFIG_DIRS/foot/foot.ini* (defaulting to */etc/xdg/foot/foot.ini* if unset) |
