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 10520 invoked from network); 2 Dec 2023 15:06:28 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 2 Dec 2023 15:06:28 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1701529588; b=WN+R9oe2b9c6R/wNyTKccK7P1UEjFQGmZoAT9CnbDWPwnT4CA+69twVYNJAOfEa7sTAqEXYTkp jF8Q2QUc77YUhJbzjZrbAWBObfBBNmW/Tm7N0qZMvFzHULa15W8EULEEVwatuHNWgxhSNCKWuw uRG+XoUjkb+Ti/XbuZyNxgaUOPGeoe6CM5KLlSgSCZHbPUN9Hzc/5wcMQyBJR2r6yQpesinkWP aKvLX19S3BaS9ILOx60IZNRV72NhQjUWfp0vl14z7Avfg/RsfR22tKzZ6/BAqOjh0XP4bfi+pm 0VKLcw8uCOUvZNHK/7nDAUwjvfMUxFb3x6oQHWqta11qhQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (snd01002-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.18; dmarc=none header.from=kba.biglobe.ne.jp; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1701529588; bh=ifR+OVPjxky7ryjNqI+1ouOism40nAKNORY5N1JfT8w=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Message-ID:In-Reply-To:To:References:Date:Subject: MIME-Version:Content-Transfer-Encoding:Content-Type:From:DKIM-Signature; b=F/H50HZHHrVJKKowxbrlh4xj14kPq+9ToKLFeD0g5bC+oECgG+y/uVeakaqwFCcEB36IZMFnW5 ToA6E/7CU9TkRjHuCMuAwhUatPJKcIjSumTb6n6WSz3RhJNcom6tVhzagpIIDzzIx1ItJ4hGZk KN68SdYPiDO43x0SOdOCWXi6XPUbbIr4uivOH+jIGc6VrU+kTwI95Bd1uDeLjuowGiB6suWIFy g8T+L28vpDyuTveAAjtdOHuSvDtEaEkepsi7sPigxYBXLP9HbsKiScQEZzv35au761gOWNyBQI ublVOeJj4v/03PWCLdzMVJev8j3jmnK8K5GLJCDWXkc3RQ==; 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:Message-Id:In-Reply-To:To:References: Date:Subject:Mime-Version:Content-Transfer-Encoding:Content-Type:From: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=5YMptr0in95LhQISlvpp9XOJNM/GP94qChZq0l35sUU=; b=QJG20PfRka8VyHOr6wRqVFm20u ReTexuMRQ//NnVFuYMvIcZLqL9puAOuF8nDYMUAc/kiWeqquOFlgA+2yM0jdQo2Bkllgzn9gmn8sE PCEob1n6YtgmtB/CYwl37RQlyTzKlIbD0pNdP+GKqe/N57hGhIVkvB0KH+CLg9MZwTwSPWErnKqmF OP7EY5nyWl9JratFcIz62jWNVXl+IPhmwH0JT3da4+E7qZGQtraRMDnSlVyNf0lauyeu1p7Mbk8D4 KzJpYfebaNZZSA011rCTa29S8EDHoi95+Qq4dbDvhDStznAgsw6SoiFcn8rvL5n2luJ5Sg+rp8msc b6xC4QLg==; Received: by zero.zsh.org with local id 1r9RZb-000LU1-KX; Sat, 02 Dec 2023 15:06:27 +0000 Authentication-Results: zsh.org; iprev=pass (snd01002-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.18; dmarc=none header.from=kba.biglobe.ne.jp; arc=none Received: from snd01002-bg.im.kddi.ne.jp ([27.86.113.18]:24259 helo=dfmta1002.biglobe.ne.jp) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1r9RZ2-000LBF-Fe; Sat, 02 Dec 2023 15:05:54 +0000 Received: from mail.biglobe.ne.jp by omta1002.biglobe.ne.jp with ESMTP id <20231202150547947.USXB.50468.mail.biglobe.ne.jp@biglobe.ne.jp> for ; Sun, 3 Dec 2023 00:05:47 +0900 From: "Jun. T" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.4\)) Subject: Re: [PATCH] Add unalias to Functions Index in doc Date: Sun, 3 Dec 2023 00:05:47 +0900 References: <20231127074710.8153-1-d@ennis.no> To: zsh-workers@zsh.org In-Reply-To: <20231127074710.8153-1-d@ennis.no> Message-Id: X-Mailer: Apple Mail (2.3696.120.41.1.4) X-Biglobe-Sender: takimoto-j@kba.biglobe.ne.jp X-Seq: 52356 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: > 2023/11/27 16:40, Dennis Eriksen wrote: >=20 > I noticed `unalias` is missing from the Functions Index in the = official > documentation [1]. Thank you for the report. I've found (at least) two more functions need findex(). diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index 8f310f6cf..cab265a25 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -683,6 +683,7 @@ the same as if the commands had been executed = directly by the shell; if there are no var(args) or they contain no commands (i.e. are an empty string or whitespace) the return status is zero. ) +findex(exec) item(tt(exec) [ tt(-cl) ] [ tt(-a) var(argv0) ] [ var(command) [ = var(arg) ... ] ])( Replace the current shell with var(command) rather than forking. If var(command) is a shell builtin command or a shell function, @@ -1633,6 +1634,7 @@ cancels both tt(-p) and tt(-u). =20 The tt(-c) or tt(-l) flags cancel any and all of tt(-kpquz). ) +findex(readonly) cindex(parameters, marking readonly) item(tt(readonly))( Same as tt(typeset -r). With the tt(POSIX_BUILTINS) option set, same @@ -2413,6 +2415,7 @@ the mask is printed as an octal number. Note that = in the symbolic form the permissions you specify are those which are to be allowed (not denied) to the users specified. ) +findex(unalias) cindex(aliases, removing) item(tt(unalias) [ tt(-ams) ] var(name) ...)( Removes aliases. This command works the same as tt(unhash -a), except = that