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 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 24526 invoked from network); 7 Dec 2022 14:31:21 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 7 Dec 2022 14:31:21 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1670423481; b=p2+HYyS9XlXOEzT5BCw7wnAq8Pf+uot8jVLy+ImZE7hCShL9BXCQHugXS1KtDyN8VavTQ3cqHN MxgWzh3CQgybfSS6L4EDuYk3r9gyqnz0EZdFApUPyorYSnELmkVYJ1/qjbZKLHbpjdkKiTvMAX ybAoa+Dh6ax4AuDdM8aMbeR3jhjtSijJ6CnsS7CJmlFOWPGyTBnl+/y0x84Q+v4fV0yelFeVb+ rXxgp7v/2/xGhJo5hvlW0Fa91d87MPIqlWCL6nQ94LZs6JDLo6Kq/mP6mf/FpNj92xHdev7kVP rVRhSMlOwfLx0oUIwYK+PoMfxQtXbKiBZ4AGxK/6AuFj2Q==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-pg1-f181.google.com) smtp.remote-ip=209.85.215.181; dkim=pass header.d=gmail.com header.s=20210112 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-20210803; t=1670423481; bh=ttYr2FiyOrzTUc687Z/YoXXygyZPbvIFshXP5HRsKiA=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:MIME-Version:Message-ID:Date: Subject:Cc:To:From:DKIM-Signature:DKIM-Signature; b=jm5EgxqahFUmjMrXOKv+PsPLFl4zSfM1leiVY2u8uh4pmjw0vUUdbyDwozTx7ji/P5sRo8DXV7 PsGBAEuLpvrzuX9wgw6hiyt+evQ9qS6S+nZdvsfH3iCRvxULrdomaAj3LTW7izPTfSWEULkkSk /zMdxoY6JqZRFxy6NBeJt0sffnNrubI43lVOTSZesvH7LmbcvabbscYpdoXrn8ggAI7T0n4JdY O9z/SZmxgxy3qRXuY96IawDUjOMMaNJM2uITi8kU6XwqS+hAkR4iuyyAgqwRzwKi5uiGWLv+bB sVWiZovN18PYQYi7ZTR4araYYEiRIJfMJ7AYYxnT0gTKwQ==; 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: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References; bh=/aT5gec0NIgnVFUIehMIQFNdT01w7vV6se/R2aNf7CE=; b=sOqrPClqnAPzMnYZFNRUFwLFIf D5L0SCvcLferSWymvpNq5HFZlBz9d6zxsMxJIWk7U0dbEa6JOhH652WMCC4UK7iKfRefFCfw9uvxY TEdsZ0wQnXaM8VFvbEqYS1e/aysPzfo/UZcyzlk/GZkDfVMkWxcKy9axRCiQu4bDLf2Y+KQ3rBp/9 PG8ePLvM5mLeyJEJoTckIe0SFkI4n15QMs3wcTbro+i3PaeEVO4pXShUyG9dzjcEP9fctC02NA9Ad DzCeUKSwOBESTsP1ldkPO/waKwhkZLjql99XHzH7KzaAk7Yb/wehFRk7JqVvr2kpr4KMaD5plr9CB r5E4SF9A==; Received: by zero.zsh.org with local id 1p2vSB-000IwG-OP; Wed, 07 Dec 2022 14:31:20 +0000 Authentication-Results: zsh.org; iprev=pass (mail-pg1-f181.google.com) smtp.remote-ip=209.85.215.181; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-pg1-f181.google.com ([209.85.215.181]:41829) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1p2vRr-000IeV-KV; Wed, 07 Dec 2022 14:31:00 +0000 Received: by mail-pg1-f181.google.com with SMTP id q71so16531450pgq.8 for ; Wed, 07 Dec 2022 06:30:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=/aT5gec0NIgnVFUIehMIQFNdT01w7vV6se/R2aNf7CE=; b=UmNNjYHcmZad2THKRCrbmKV5g7s/2YRgVbV8a9n0qw2Tgm/eIAks4RBqysiOX9Zhj1 rFoZ/8XYMS2KzdgLPu+5FW2yJPpZ6BxwIjtGuXuOoS9sZAJB/L5v4z/0HkQTqBb9qleC 4eHATAHCuIGjS85ci922O7OKcIzBJSKLzEkxy/eh6tKq1ZjHX9p5jogazxVheymgpvmF WCU5dT3N3H+TfgwtN3n3McrLgkL/sE0/xQflpl+61uVT6A1fxrrWwh8K7OMh1eOR2o4U N8V2/kqJ3hS4tkLxtAjxNcHKFyBwFhxV6HZ716dGPQ/mzb1zO4D+xO80Mt0c7Xbi/Y5D iJNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/aT5gec0NIgnVFUIehMIQFNdT01w7vV6se/R2aNf7CE=; b=biiXVP+K0qeqKvT7mO2kEGt2j4ppgpIaFrJbSZH4RhVNh1Tj1nOV1/EYZ/BG7VFcVU foa/u8Kx3SjfQHyvoKRq4EXGaDlPM6Epu/qgYJQ9RrUmYqOocW/Ze4OyqBcYnCjOhNut GP/nxgHIpbWvdur1Y7L0zUv4JQniHdw70U35dYBUiWZisYwgOZKTEaWLg+J8Lv/2sSJH /g9XkcuSgy3jmOUKdSFkYy8DxTwXShqn9vTgLDz1UTasXpTWmtlI7SF2u7GViCjJpPcR zLQGB3zLJ55ZrPBkBVB+Rga19reebGo4Mb3lM63oawMJFE/lfSKE0h4bQA4Ue5xH8R5I APgw== X-Gm-Message-State: ANoB5pmlfP5z6nJJAfXxfugLPDbc8N3xDoAH04gCpWXBfP5UPEZpP5/3 0I8DwlQ74qm1PXjvKobR9xev2UxJzp8= X-Google-Smtp-Source: AA0mqf4WdKSGnLr6IddwlhbXnKmMa7gt+BBCK88x9zp1lfNNMK4OueP8aaUQPqqbH4S6iw8UFsqNIQ== X-Received: by 2002:a63:c41:0:b0:46f:81cc:5ecb with SMTP id 1-20020a630c41000000b0046f81cc5ecbmr65401093pgm.459.1670423457225; Wed, 07 Dec 2022 06:30:57 -0800 (PST) Received: from localhost.localdomain (49.212.151.152.v6.sakura.ne.jp. [2403:3a00:202:1112:49:212:151:152]) by smtp.gmail.com with ESMTPSA id a23-20020a63e417000000b00476c9df11fesm11498642pgi.68.2022.12.07.06.30.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Dec 2022 06:30:56 -0800 (PST) From: Shohei YOSHIDA To: zsh-workers@zsh.org Cc: Shohei YOSHIDA Subject: [PATCH] update global completion to version 6.6.8 Date: Wed, 7 Dec 2022 23:28:45 +0900 Message-Id: <20221207142844.273038-1-syohex@gmail.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Seq: 51111 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: - Add new options - '--print' - '--extended-regexp' - '--nearness' - '--invert-match' - Fix bug - '--basic-regexp' option is a boolean flag and does not take an argument - Fix typo --- Reference - https://manpages.ubuntu.com/manpages/kinetic/man1/global.1.html Completion/Unix/Command/_global | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Completion/Unix/Command/_global b/Completion/Unix/Command/_global index ffd8c0dce..4ffd7f8ce 100644 --- a/Completion/Unix/Command/_global +++ b/Completion/Unix/Command/_global @@ -9,15 +9,18 @@ _arguments \ "$cmds"{-I,--idutils}'[print all lines which match pattern using id-utils]:pattern' \ "$cmds"{-p,--print-dbpath}'[print location of GTAGS]' \ "$cmds"{-P,--path}'[print paths matching pattern]:pattern:' \ + "$cmds"'--print[print locate of root/dbpath/conf]:name:(root dbpath conf)' \ "$cmds"{-u,--update}'[locate tag files and update incrementally]' \ '(-a --absolute)'{-a,--absolute}'[print absolute path names]' \ '(--color)--color=-[color matches]::color:(always auto never)' \ + '(-C --directory)'{-C,--directory}'[change the directory before doing all the work]:dir:_files -/' \ '(-d --definition)'{-d,--definition}'[print locations of definitions]' \ '(-e --regexp :)'{-e,--regexp}'[specify pattern]:pattern:_global_tags' \ + '(-E --extended-regexp -G --basic-regexp)'{-E,--extended-regexp}'[interpret pattern as a extended regular expression]' \ '(--encode-path)--encode-path=-[encode path characters in hexadecimal representation]:format' \ '(-F --first-match)'{-f,--first-match}'[stop searching if tag is found in current tag file]' \ '(--from-here)--from-here=-[decide tag type by context]:line_path:' \ - '(-G --basic-regexp :)'{-G,--basic-regexp}'[specify basic regexp to use]:word:_global_tags' \ + '(-E --extended-regexp -G --basic-regexp)'{-G,--basic-regexp}'[interpret pattern as a basic regular expression]' \ '(--gtagsconf)--gtagsconf=-[set environment variable GTAGSCONF]:file:_files' \ '(--gtagslabel)--gtagslabel=-[set environment variable GTAGSLABEL]:file:_files' \ '(-i --ignore-case)'{-i,--ignore-case}'[ignore case in patterns]' \ @@ -27,6 +30,7 @@ _arguments \ '(-M --match-case)'{-m,--match-case}'[enable case sensitive search]' \ '(--match-part)--match-part=-[specify how path name completion should match]::part:(first last all)' \ '(-n --nofilter)'{-n,--nofilter}'[suppress sort filter and path conversion filter]' \ + '(-N --nearness)'{-N,--nearness=-}'[use nearness sort method for the output]:start:_files' \ '(-O --only-other)'{-O,--only-other}'[search only text files]' \ '(-o --other)'{-o,--other}'[search in other files, not just source files (with -g)]' \ '(--path-style)--path-style=-[specify path style]::style:(relative absolute shorter abslib through)' \ @@ -34,11 +38,12 @@ _arguments \ '(-q --quiet)'{-q,--quiet}'[quiet mode]' \ '(-r --reference --rootdir)'{-r,--reference,--rootdir}'[find object references instead of definitions]' \ '(--result)--result=-[specify result format]::format:(path ctags ctags-x grep cscope)' \ - '(- :)--single-update=-[updata tag for specified file]:file:_files' \ + '(- :)--single-update=-[update tag for specified file]:file:_files' \ '(-s --symbol)'{-s,--symbol}'[find symbols instead of function names]:pattern' \ '(-t --tags)'{-t,--tags}'[output in standard ctags format]' \ '(-T --through -s -r -l)'{-T,--through}'[search through all tag files in GTAGSLIBPATH]' \ '(-v --verbose)'{-v,--verbose}'[verbose mode]' \ + '(-V --invert-match)'{-V,--invert-match}'[invert the sense of matching, to select non-matching lines]' \ '(-x --cxref)'{-x,--cxref}'[additionally list line number and contents]' \ '(- :)--version[display version information]' \ '(- :)--help[display help information]' \ -- 2.37.2