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.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 17707 invoked from network); 1 Jan 2021 02:49:40 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 1 Jan 2021 02:49:40 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1609469380; b=bw2UPzvRRC3VhZQI6ZH+S4dfDJxp/GtajH2wDG7U3SDaxUArl5TQccRSmhfWuQWGsGOZC9XM6t K97LZ1wSlFrUZtbaHXxu3zc9Q1HW2+v3WfeTRH/oRPa0uedEuRN76IyxJ1mumWcWmODy5D6amK TIbvJJ4NivEOhRRhJbbHiDa0+SnfcfcWHp+l3KhUDHBDxRuWyb4GGrssU0m1A/+HVuqML8TwA0 Q9q4CWWBp4MfSmrZm9O69X3bN6n/zK5dLwrhU4eOhu0n5dWCuZD78CnQzrUjwvP0/Nsvke8o6O 2rupbwy6tk7ME1gofdaiDLvxcQix8bVp8Pj9QBJlCNUXTg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-oi1-f176.google.com) smtp.remote-ip=209.85.167.176; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1609469380; bh=m/KnEiAjb+yOuXHNKgnHwnS3XENzn5PFqawCFtnXquE=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject: Message-ID:To:From:Date:DKIM-Signature:DKIM-Signature; b=xBZQDSfXmSGgFzUVPcFpBJ6tKJoqfOhrgwvehL4Fbh595CbTTkXjPSIsf5PQViYAadseYTngV2 UJQy/gPg5CRqrEs0f/Qst2UQNqAeG06e9+bL5/Lxwsc/hNF4jyGeNKuVsAs1PRdoNTDzqVFjXr eZSLMiJK6nl4a1vbYqJ5B0htqD1FnZmiA0bUteFGaYfE1MNNQC4M8dXhAzKHLloWDxidwJ/+az UdrID8EhTW4cXXx0rJI0yH0lUR7VS96LO83vPJRztfv7BBopAmiB5GK1h4Z/tNEYBDgR63vBtV ZXBArYvGgLxpS88wcJBHUAz76AemJH6/nkE9KAitZyJIpw==; 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:Content-Transfer-Encoding: Content-Type:Mime-Version:Subject:Message-ID:To:From:Date: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=ULl+l9Y0FtPV7kioDpLupyCedO28AHAVjAFG+95jOhY=; b=B4yuwhhKfL4wzf/ZD0ZX8mW1AS zWZOh9+FrV4jYqKFYkQlzwD7bkqR2l1xkoOgHsvufrQgqUIW9EE9Hwx0eST/tIE1C+/hzgSOyBG4M RhWZp2FcAZjxtOFK+5C9D0bRDAYkOKmLv1+C496ZTJYoyzfba1KNK1eQduKs/mq95fdMX7wGRexAf pSn0sXV4SRJqrKnu2u2rae+L6wbAxu7NMV32t0/2+5vXmrmZ25hz3nzgOA6mMkhsEzixvBZDNhKXD BjBPt9qEh1q5dBuzCYs0r6z6A212MB9Im5Rfe6LCssdCdqz2QpmWjvOCWJRAVftxngmRkRBYD9G5u AjGcChYQ==; Received: from authenticated user by zero.zsh.org with local id 1kvAVW-00042d-12; Fri, 01 Jan 2021 02:49:38 +0000 Authentication-Results: zsh.org; iprev=pass (mail-oi1-f176.google.com) smtp.remote-ip=209.85.167.176; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-oi1-f176.google.com ([209.85.167.176]:34253) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1kvAUv-0003gM-4q; Fri, 01 Jan 2021 02:49:01 +0000 Received: by mail-oi1-f176.google.com with SMTP id s75so23507769oih.1 for ; Thu, 31 Dec 2020 18:49:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version :content-transfer-encoding; bh=ULl+l9Y0FtPV7kioDpLupyCedO28AHAVjAFG+95jOhY=; b=mrcjajNChu6Ems4y0W5jElyUAuErkLTKzMBaogazsbPGG8ILgwhGmoWld7ndoX9KA/ iqj7Ly+6HYweczGxCqJvkLYoXsUxtX+kwpl0WC3Yu3ggwumBLRM4JSFPMBJOgFQ3thUB lddzmOdfFFEqq0gMLcD50pINI5+kAXqxLaeKF+3MaJhe7StZn48wIgtcCoCvt2yvyIbK czTJPfJrGhPloCnMaaMXG3bIbHaYytafIZGDaoRPwSRJIV1Htgg9AMR0oHXQclhUclAY EJNffo+bCnTYs1nwR7795vySy/uOAvxbkBgxzBX+/pwrUPvKvg6lxR6bYwDDvI7saANT 05/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:message-id:subject:mime-version :content-transfer-encoding; bh=ULl+l9Y0FtPV7kioDpLupyCedO28AHAVjAFG+95jOhY=; b=LuWwAwmYp87Z1rQ7XNWP2Gq7lRSxfTc68Q2OF5ZpgJHMA87trO/512E4SnxocKWrcw B/FH0x2uLDhYBjuO4igNRzhDSD8mzNuIRYnoYubsEVY7RZO3xS0C4WpWlyZHr3P6UixG FnFwzR976mo4Kd+5CrwCrRXIyLrmP/RuW9dbBisjicF6RnGKYFBaFOzWTcYi5EJbamIz +2lrDHN9gtFf+5HjDuLMnHvOeZH6Eb3WFVf05pSvJt/ijEmFk1bSiTGamxIrRXmq5+YP f/sQMHHdK80LEkBFGrnxiMgYaJWMZ+K+RYyoHfkWBeFeGdLYWXblpBlxk1GuYvAcg8M/ bksQ== X-Gm-Message-State: AOAM533OcUcqkcvCP08ZVr5oO9PNukse2PqXPq5AcosvIPLnsdUxt1co ebbqjAbxfzpU1N26ay+fabAjd8y1K7yUVg== X-Google-Smtp-Source: ABdhPJzih3BC0QpOq3zvB5rL4q4140Um4xmZDywBzoQdt9vOEk7ghiKwRWdMHuW1gbQamHWNxSD9wg== X-Received: by 2002:aca:5248:: with SMTP id g69mr9471568oib.22.1609469339601; Thu, 31 Dec 2020 18:48:59 -0800 (PST) Received: from localhost (189-209-26-110.static.axtel.net. [189.209.26.110]) by smtp.gmail.com with ESMTPSA id n13sm11590846otk.58.2020.12.31.18.48.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Dec 2020 18:48:59 -0800 (PST) Date: Thu, 31 Dec 2020 20:48:58 -0600 From: Felipe Contreras To: zsh-users@zsh.org Message-ID: <5fee8d99d8b0d_c33e320877@natae.notmuch> Subject: [ANN] git-completion 1.3 released Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Seq: 26290 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: Hello, Git-completion is a friendly fork of the official Git completion and prompt scripts for Zsh and Bash. The main goal is to provide a more up-to-date completion for Zsh (I'm the developer), which is basically just a wrapper around the Bash completion. Compared to Git upstream, you get many benefits for Zsh, but there's also benefits for Bash users too. If you use the official Zsh completion, the main benefit is that it's blazingly fast. Simply doing "git log " on the Linux kernel (with 3k+ refs) takes several seconds on the official Zsh completion (about 3 seconds on my machine), with git-complete it's *instantaneous*. There's other benefits too. Since the Bash completion is actively maintained by Git developers, everything works as they intend too. For example "git send-email " correctly completes branches, as opposed to files in the Zsh official completion. Also, complex aliases such as '!f () { }; f' are correctly identified and completed out-of-the-box. It's a sister project of the Oh My Zsh gitfast plugin [1], which I maintain too. Since the last version, the baseline has been updated to git 2.30 (which includes some of the patches of git-completion 1.2), but there's a bunch of other improvements and fixes. The main improvement over 1.2 is that now all the completions are correctly quoted (according to zsh developers using compadd -Q is rarely correct). In total there are 47 patches [2] on top of git's master (plus tests and workarounds). For installation instructions, and more information, check the wiki [3], but basically. * make install * fpath=(~/.local/share/git-completion/zsh $fpath) And for Arch Linux users I've created an AUR package: [4]. Enjoy and Happy New Year! [1] https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/gitfast [2] https://lore.kernel.org/git/20210101021622.798041-1-felipe.contreras@gmail.com/ [3] https://github.com/felipec/git-completion/wiki/Zsh [4] https://aur.archlinux.org/packages/git-completion/ -- Felipe Contreras