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 32146 invoked from network); 23 Oct 2020 08:17:18 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 23 Oct 2020 08:17:18 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:MIME-Version: Content-Transfer-Encoding:Content-Type:Date:Subject:Message-Id:To:From: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References; bh=jPh45usg+KabvAECYYFanjy6s00aGYPvxcRqMiMUbFI=; b=0BaHKBTYFgXYfNQ0NUMrKhk6Bu jVnx/xae/opG1NrRZRrQBusf6xW0k8/a5Z1hoZWslUkeLWJZY8DZ31hdXT0kmLdsyiYrK+iLybPsn HsBM8zh6Zm/g/4o8G5aMHeCLD2uTd6l5VrSauN6QwjaNRpoW4FBcVw0Yh9BDlFR+3bpoTWPJ8egIw DXfIOg6f0WfLdBnoWDAItPIgO9o2Ed+DrqKkS48A+Em4utUj6BSD7l14qchUes6oyUtS+TR1rHdZV ic68LvfAPoEpduj/cM+B8fLrL3QW2v/EPAXe3ZyTmyp5KgmAH9Xuud9KN7ayikCYX1qw4M/fYjfGU EGNGmzVQ==; Received: from authenticated user by zero.zsh.org with local id 1kVsGE-000Iig-2t; Fri, 23 Oct 2020 08:17:18 +0000 From: To: zsh-users@zsh.org Message-Id: Subject: Update git completion on macOS Date: Fri, 23 Oct 2020 08:16:53 +0000 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7BIT MIME-Version: 1.0 X-Mailer: Sympa 6.2.56 X-Seq: 26122 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: Archived-At: Hi everyone, I wanted to search the archive before posting, following the documentation, but I don't see an archive link in the list menu. Here's my problem: Running on macOS 10.15, I've set up zsh with completion of git commands. It must be the complete function that comes with the os installation of zsh, because I didn't add it and I don't use oh-my-zsh. In this complete function the newer git commands like "switch" or "restore" are not included, so I want to update it. I've researched a while and found the function in /usr/share/zsh/5.7.1/ functions/ in the file _git. What I couldn't find is a current complete function and also I wasn't able to modify the contents of the file. Even using "sudo" I get the error that I don't have permissions to edit it. Can anyone help me out please?