From mboxrd@z Thu Jan 1 00:00:00 1970 List-Id: Return-Path: Received: from localhost (localhost [127.0.0.1]) by mail.ignore.pl (Postfix) with ESMTP id 05A8E47E03; Mon, 20 Jul 2026 16:00:56 +0000 (UTC) X-Virus-Scanned: Debian amavis at ignore.pl Received: from mail.ignore.pl ([127.0.0.1]) by localhost (geidontei.ignore.pl [127.0.0.1]) (amavis, port 10024) with ESMTP id gehH57xCygRK; Mon, 20 Jul 2026 16:00:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ignore.pl; s=gdt; t=1784563254; bh=YcPkcADgGiiCydVRVz/Tkj/+4QPQy5PO+vSKELg+rz8=; h=Date:Subject:To:References:From:In-Reply-To:From; b=lZkcbs99iwNCCpAy0VHUxdB9HRbKOCP+5fKGsYkyIrTYIfyxkepAI0IffrQizGLFr H5Qd24372WgyU1VovGKyPSHGbzuW1+TeNnzRGusLWtLYRACQLa7zxGb3DfTe1PySzJ 7Yd7xL/QMIJ6emVOe+jcm5NtyYnzQz6Kc9ybEhL6SgsYsb9WVRhFQLYJglGSH4HTsf WxDdiUKpXtHhTavIkNzpDpnQWvIUXsBpZGMM13iwIk2RpDzxkitlkt9WRsbMQjXKUp vJs3qKMAmtGQtb6EHPOz/KXaLbjFgdK7e3LoU//4n+yzUAtouA5CG1PKAYPcqfdvSx A/o+JbDjJ6gug== Received: from [192.168.1.5] (day106.neoplus.adsl.tpnet.pl [83.23.24.106]) by mail.ignore.pl (Postfix) with ESMTPSA id CBDB4403DA; Mon, 20 Jul 2026 16:00:53 +0000 (UTC) Message-ID: Date: Mon, 20 Jul 2026 18:00:52 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH what] what: add -c option to command-line interface To: Jakub Slepecki , patches@ignore.pl References: <20260720073721.14907-1-jakub.slepecki@intel.com> Content-Language: pl-PL, en-GB From: Aki In-Reply-To: <20260720073721.14907-1-jakub.slepecki@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 20/07/2026 09:37, Jakub Slepecki wrote: > Using require() to load configuration gives some interesting effects, > for example, one can add their own what.config in a directory that is > tested earlier to inject their own configuration. This avoids some > logic needed for a custom config loading behaviour. In a long run, > a "traditional" XDG_CONFIG_HOME, HOME, ... may be better, but this is > enough to start tinkering with plugins and such. > > Signed-off-by: Jakub Slepecki Merged as 659566ed4e5c8baedbd6563b93e4791ecb603b0d.