From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 20660 invoked from network); 1 Jan 2024 23:32:18 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 1 Jan 2024 23:32:18 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1704151938; b=bSWp26Wj5BaNbOYF2ACxkAktkjhzbfxgUINaPCYi+Fu3es9i62ulpEx6bs8iBTwCN3pv5pLpVJ Pdu7sys2YF9grhyNXKO5Q289navzMOa7vzlOkdYmlwhwsuVwSvUlPqKHXtAukh2z073+X9cNRM aKKXqxk/0drKVCjjYcPyV09WRrsIiQg79aPFdYp3WdP5zZprSPDoMsRHBhsDP7zm0tuYbEwhbD tpiIUjsD92nE3DWloN3qG/EYYxpQ3SD92zDg+TCR3YRz9jVTOsZanD8FlG5oac21JfgVeqqLmy Ei+w4HuO3liuVRpJGYvfJztKP5mBXE9ieVJig69dUb/qkA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ej1-f50.google.com) smtp.remote-ip=209.85.218.50; dkim=pass header.d=brasslantern-com.20230601.gappssmtp.com header.s=20230601 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1704151938; bh=3nAQAcye/aN7ACNRl3hYq68ORBWzoOoqeGSgE+lETBw=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Cc:To:Subject: Message-ID:Date:From:In-Reply-To:References:MIME-Version:DKIM-Signature: DKIM-Signature; b=HInuVvU1ROhJlElKT4oAFpWnwy3B8FCNzwwzMo9S8C8POxRLPTbrJEJMveaaeFScDbOA0C9flt WsWsU303s3CT0xpeqb+6bxX3g9bsWm+nGIDY9b7Gx7Dfx36GKshJEr+H6f1Xg1SFeBxbOQ4i1g cHtqZOIZIYkWdls9E4PkcFZcRKX/hKJHgeotOLufcP5Rt91QBAljO+sIQtI2IIeIdjcEC67Y7r SBy3fiwdUqG4QENpRCnVu0+O3sAlNyrC1lno/QdLRSrvs9to5wlBzu4+mtX9BNyYLC82IVzmPq vU7Py1SmSw4uZB4XZeIAq1V3NMfQtUviyy/Gpq3TVKUMyg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To:References: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=3a+MkQa7rUrM3pPjy6IeMXpS2acPpKnTr0YvOEhtrbk=; b=HP/wJhAtZGWpxFsMTLvrY2G3rH zUgrk4h1qJQ2tTbA7Lix+LB5uiC7jsulbBr7a2Hdla8PnDo/o3SDmYEMn1fJO1GM09ZNpl6x3yC48 3QngczDAIk953YT4lWWBriGL/9tYz/rDbZRzq38eDeY9Aq28WpySYYNYuW1z6lNv0d3iZLP5xCDpQ 1lXtD7pxcDqqj1g9Jpr3eEkakiMi6YW2IU+ocNOBDGjLNm5Hb3+pQv643Jpmw7km3VxzbbbziS4rC iMqHcMOX0Tr4HYzGiieq80qsquduAk0y0VLEKIeiAr83RJS3UGotimEg2gTJEi+uvdf2PR+iGkr+6 kqW1NgNA==; Received: by zero.zsh.org with local id 1rKRlZ-000EG3-PL; Mon, 01 Jan 2024 23:32:17 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ej1-f50.google.com) smtp.remote-ip=209.85.218.50; dkim=pass header.d=brasslantern-com.20230601.gappssmtp.com header.s=20230601 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-ej1-f50.google.com ([209.85.218.50]:45450) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1rKRkw-000DwT-UF; Mon, 01 Jan 2024 23:31:40 +0000 Received: by mail-ej1-f50.google.com with SMTP id a640c23a62f3a-a2331caab22so897803366b.3 for ; Mon, 01 Jan 2024 15:31:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20230601.gappssmtp.com; s=20230601; t=1704151898; x=1704756698; darn=zsh.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=3a+MkQa7rUrM3pPjy6IeMXpS2acPpKnTr0YvOEhtrbk=; b=Fh2GT2/rd/8lrqpIX2K5xqxT8/QLu3Y14E4KOMLJgxPwZGHKyS2bysltbrWPY6+zSk ZKYjoPRdeFXCT6vTXY5xb9ezdTQYtm1PEdp+bbKa9nAoqCA19qGFl1IWs/QRoYxvqTrH h8/HQgtkotYmCkxgQxLzNZXakYs7lQ25b6stySgxEmWIF5G50vfPnVdHWgdJWO4Di0Xw lOCWBZFPbuardh7Z1jDV6vzkuqD6PrJPZrWBXj0QRZPwnFgR/3J9TnP05M1FDGumOCCD bjJLp+dD/KjpWMKEJ0aCmKhX1xn6KtM3PAq+OsI621hDS1MHJ96+VXLNv1MS0wKyP0SY LFUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704151898; x=1704756698; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3a+MkQa7rUrM3pPjy6IeMXpS2acPpKnTr0YvOEhtrbk=; b=BSo6NwgP7h7gk+Izx5hFdTZ71qfowJXWurO1CGyrvRW5n9OTh7Cl6V/Xxtxyu+8PQs bw+zV5a/88z37Fop1vvx77U1GT0RouOlgCz67FwqDJd2CMfF0Dol2JJk8zHqoqKdR3Qz YdDQKrPUiMpjulORmUk7D6mZ1v73HOElQSePyOU6UwbN5sS/a0G108ywNEHxWX/DKdUm 6xOkWUfVu/htAHplfeSQIa+N2joqaKy+gb3KXq2560VS5QKQWC6ncd1Y7eGLl4U8guLm xRtiTGV8yqtAB84dxw5iG3eRAhEdvaSF/1H1ErOYvzrjFMk8MGF5Kg5OIT4ifJp8OXHj NGdQ== X-Gm-Message-State: AOJu0Yyugk1efNjFMFuYQLMCO2W974FhAa6BVvP9577oeDI93HkRaiIn c2CGSiiyx2FgGF1G5lqO6kxuh56q5dCZZX9VYwybSBzOq0OV X-Google-Smtp-Source: AGHT+IFGGoMgMhdFrCbP71bmHcuIm03IE3VBNWdztWW9LYiNKB012yrPSrxublOYzDLt7jvX0moQjqU8ShAcI4v0pPg= X-Received: by 2002:a17:906:6158:b0:a27:92df:eddf with SMTP id p24-20020a170906615800b00a2792dfeddfmr2388744ejl.151.1704151897618; Mon, 01 Jan 2024 15:31:37 -0800 (PST) MIME-Version: 1.0 References: <6kojc6iwl5c6raahnkwzuwylats7qgwgybx4y3yliavu7h6z3w@42im63oedqil> In-Reply-To: <6kojc6iwl5c6raahnkwzuwylats7qgwgybx4y3yliavu7h6z3w@42im63oedqil> From: Bart Schaefer Date: Mon, 1 Jan 2024 15:31:26 -0800 Message-ID: Subject: Re: [PATCH] init.sourcehome: look in ~/.config/zsh for files To: =?UTF-8?B?SsO2cmcgU29tbWVy?= Cc: zsh-workers@zsh.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 52450 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: On Mon, Jan 1, 2024 at 1:15=E2=80=AFPM J=C3=B6rg Sommer wr= ote: > > Bart Schaefer schrieb am Mo 01. Jan, 12:06 (-0800): > > > > I think we long ago decided that we're not going to attempt to comply w= ith XDG. > > I think this is reasonable, because XDG is very complex and Zsh should ru= n > on many different systems. But wouldn't it be possible to support a minim= al > subset, e.g. like ~/.config, to allow using some XDG features? IIRC, the argument goes like this: Zsh already has 5 config files (zshenv, zshrc, zprofile, zlogin, zlogout) and three places to look for each of them (/etc/*, $ZDOTDIR/.*, $HOME/.*) and adding yet another location makes worse a situation that it's already difficult to clearly explain and use. Especially given that it's unclear whether one location supersedes the other (like ZDOTDIR vs. HOME) or whether both locations should be sourced (in the manner of /etc and one of the others). Some relevant completion files do make reference to the XDG locations.