aboutsummaryrefslogtreecommitdiff
path: root/doc/foot.ini.5.scd
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-05-24 16:18:15 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-05-25 15:02:41 +0000
commitbc7214cd885f08306f2fa833af2b5c72a6cc88c4 (patch)
treeadd02e9ab9463a72c3d8428a38d4baaf8202a475 /doc/foot.ini.5.scd
parentmain: 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.scd2
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)