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,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 29735 invoked from network); 15 Oct 2021 20:11:51 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 15 Oct 2021 20:11:51 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1634328711; b=YnAS+mduVoNap8zGs89qYdOmFaqMUGoUm3UqDceRRD5Jh3ok9qbOyzr3rlo/95AIIYliA9Uua9 9mm+wnUTpGHqduFnFg+RrolX8hg3L+p2hSp1rqePBkwFsNt9A1z77qX6nqzXW9cC9ru4YSADpu wd0KkMAIue/5j4082a3YA7+Wxu/yJU/rWwVu2eB8icHNL4gACDHFp7td9RthDcUqa7jsuOBXU5 h2//rCA3zEYfWLctIq0N2+anbLKcgCUV14G7qZ3yuPdi8kqqkKZQLMjEL56fpWR3CKDB4GYfMQ Dcig8ninfH1WpRS6Cv1bt2bjobJNR4Nw1ylAq76uRen2dA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-yb1-f182.google.com) smtp.remote-ip=209.85.219.182; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 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=1634328711; bh=zNuTD7ZwZJD5NfZlz7hOn6bfQnvUlt3mE1tWavGoYGA=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=FM0AGE0s8eil3u0yS//zqn0fQmHrowTvUdDr8jreiAiZhVZ+AcROhvivfIS+wjQdMYjbLcgw6v IjlGqTd297RVTyBsnLM7oECuIN+q4n48bahTjcYjlBKe50D1ZAIp2oUf/JMcRpVJbqSnzi9llt FabnmNc15BvnARaGw+UWZg9/3lHj1tgFrkmMLLilpICDbJ+bcqRLkpiRHqljaCb+oSWnNevuft m+1DkoOJUwwkzsnqa58Aplfvai4ICsIjHNf9Nn4DaJwWyW1VRZYhNeakKqd1ow38mPJ9ChL6mW mUbJ/I+LsIC+HwEn22Hm6DyDW4YqOXm+4wdbX8obN8TimA==; 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-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=gHvpgZ13sz9J3aXMxGXxbbKHkZTzOervKbhUFEhF3jA=; b=VcLproFymYqDCvxeZdl0bfUkVY d1aO1hgnyvoJmuZ2lxhniXroqQDWgCk0y8unGacjTpIGA3N0l1HeKjCx8VMM8yZJO2qFlZ5UyNXec 2JIVQR8dZaFAkGEIOnt01FnvJ9bbxEfDDA1QdDY3GnM9OlUyoVUf5zFyGQzlA/y4zQy2iOq8K4UPx SwUK7q6+JmlgZP/Xs/KS2NFBe7B5z5y8+0nAyFjnD8naUFHO5aiV0+yAyfPc6gtV6tOjRMxrnBJML IPIYcxGu7JfxiV47qVXBAoc3h2ZBPcReyeVKtHdGERy36TE9Dm537Vjyt2Hrxoh4N7pBBjCWSgbfI pI5UDqew==; Received: from authenticated user by zero.zsh.org with local id 1mbTYU-000Ne6-5a; Fri, 15 Oct 2021 20:11:50 +0000 Authentication-Results: zsh.org; iprev=pass (mail-yb1-f182.google.com) smtp.remote-ip=209.85.219.182; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-yb1-f182.google.com ([209.85.219.182]:35382) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1mbTXN-000MvL-1O; Fri, 15 Oct 2021 20:10:45 +0000 Received: by mail-yb1-f182.google.com with SMTP id z5so25429458ybj.2 for ; Fri, 15 Oct 2021 13:10:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gHvpgZ13sz9J3aXMxGXxbbKHkZTzOervKbhUFEhF3jA=; b=GTrX0r8lBClhljMvT1vhtAMaRWU3mW/2XgLBKMe1ZXdnM9aWmy2sC4pAkIKUP/3t2A zjulFtmMMIq7jPogqBVtM7ZbNoT2AQzufUwva0vOfoFYK8sqySw3VCM0LN2PdZODY2MF osHW8b/KAUupB8vE53tLUQdyv6tmukDosTBRWLWK515SOkWdlXzvJj5HYnwGQgcJY4j9 s6b6doIPeh9I4xBNRwyje/V5TAGKFEdBis7//d2itVlfrClF3DF+FYa5nMuPytfVqeFd NlBbjyr20e6K8VxWt7Ax9rpYfrEsI3C0xdSzTEgT2ooHv/5V3jE7rf+PXThNuh5CSjjH y3PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gHvpgZ13sz9J3aXMxGXxbbKHkZTzOervKbhUFEhF3jA=; b=pHyCWwG6CvVzx1dVG4F0r2DCC1e9XqZcwjb4IdyGMHaU5q1FUEHIGIVloAf9K20Ygg no40VY4YYe56uuph/MJg+Y/kemJSWbyxIoI0KVOQaj+QzTCsXc4agAy2CTS1ROSZBmKL ZxNGzz9s7YB20sdshqtQuVS4zXMvvE9+MzX6kid6cMHb+f81F2WTvJ/g5rqbG+DXDpN2 WWm8f7+QQBIZXQC6owCnGeItfN53j+/DklbykthfHb49JKAeJ54Ft4QL8ixHN9w2PhXN R+aUvzypjd8W8qzJsS2gn6VPqtwP6rITWxLA2HrJbsI/RPlxLZ9XaP+Gf4h6YaqlpW+I thgQ== X-Gm-Message-State: AOAM530RXSyxCOGKYx+2OQqOcTtLJEEbWTa31V+KlGn3A3BzPb8shTxD j6jM2HDfrUAB9F91mPWUX0bUnNDOo0t6OBUYHG22pg== X-Google-Smtp-Source: ABdhPJyPiPXE16SSEJzqolIafUB07riF647biVGWIIZMyuF/nEth+nBtyiofABl6an905/8PARhKZMw31og5nLkOeSI= X-Received: by 2002:a25:3487:: with SMTP id b129mr13732894yba.249.1634328638199; Fri, 15 Oct 2021 13:10:38 -0700 (PDT) MIME-Version: 1.0 References: <20211015184034.GA7752@gmx.de> <20211015185603.GA8362@gmx.de> In-Reply-To: From: Bart Schaefer Date: Fri, 15 Oct 2021 13:10:27 -0700 Message-ID: Subject: Re: Where do these completions come from? To: Roman Perepelitsa Cc: dominik.vogt@gmx.de, Zsh Users Content-Type: text/plain; charset="UTF-8" X-Seq: 27243 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: On Fri, Oct 15, 2021 at 12:13 PM Roman Perepelitsa wrote: > > > Okay, understood. But why is it useful to expand hashtable names > > in command position? > > I don't think it's useful. It's not "expanding" hashtable names, it's completing parameter names because you might want to assign to them. Having % PA % PATH= would be a better example. You don't get the "=" when there are multiple possibilities. > I don't know why the default is what it is. I don't expect zsh > defaults to make sense. Why is interactive_comments disabled in > interactive shells? Because csh didn't have interactive comments, and zsh was designed to help college students using BSD unixen migrate from default csh to a bourne-like shell. > Why does prompt show hostname but not the current > directory? There originally wasn't a prompt escape for directory, IIRC ... and we're back to historical usage where users were on time-shared machinery and might need to know. > It's all for historical reasons, I guess. Yep, in a lot of cases dating back to how universities in the USA in the 1990s tended to configure their servers/users.