From bc7214cd885f08306f2fa833af2b5c72a6cc88c4 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 24 May 2022 18:18:15 +0200 Subject: config: use $HOME instead of getpwuid() to retrieve users’s home dir MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When searching for foot.ini, use $HOME instead of getpwuid() to retrieve the user’s home directory. --- doc/foot.ini.5.scd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/foot.ini.5.scd') 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) -- cgit v1.3