From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26991 invoked by alias); 20 Jul 2018 02:47:01 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 43196 Received: (qmail 22038 invoked by uid 1010); 20 Jul 2018 02:47:00 -0000 X-Qmail-Scanner-Diagnostics: from mail-it0-f45.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.214.45):SA:0(-1.9/5.0):. Processed in 1.15604 secs); 20 Jul 2018 02:47:00 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS,T_DKIMWL_WL_MED,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: dana@dana.is X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dana-is.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=lYp1ZDf7nBiermSmIbHIhA/25NcvEYsR/TRPFPim54s=; b=S4oIiVxZUeStINcV3D+/GHRmYkW2VMu0A/+1htHx0q3K+vOOfvTYvldDJqg8StOB30 fKnEQFHXBlTwHRRaZabt+MGxXeRpN+hxfr1PcF9PSjtSc1tNRT3mX/XRFZs1ZkmXFg39 crbLsuZ6Kltjby4EiuDQtEWmHHe4GjpX2WHeEIq8Ki97obXF32lnv5JMRn6jtLsEmVif bM9ddsaNvmNV3hAkyOaPDmtn9MQR7pllJsjZItjCNVDVDxh7CToAAic+kDUCzj9n31Fv G9r1lFo4XoxQAhictgUTtmuNDY/k4DBnU+/dMDNGdFUSKvFQg2qNAckNLkZscDovA6NW 5O6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=lYp1ZDf7nBiermSmIbHIhA/25NcvEYsR/TRPFPim54s=; b=YCLTw2jU5oTON/hCEgMrNrkAvhVcb8j4OKORhpW/sgT16M3Kg3JdDyyxETYw7sZtm9 njhHRytdZOckYHMXirx7z6lZQlNhQbUJSYiSbSVvtjR+81K5VQnsVWtad6jfvgbUWGHU v8y+JCIl/r7VHoF3zbjbt6GNAcv6JzJCGBk96s2Qkqj6Oxy5zoBaBngOGMosxuTeAheu AmaTuV5KXsUSI7jkejDAcrOiJqKK2WdrbVp1bchjf0gkCYKMrA8YhvpHSxCaFgEZu4t1 G0EIbMBNBpMcd0/GD1sLsBZXjCXjHTpw1l53ysL81PWfLakylk1e1UXdQeFPer9urRNt zeEw== X-Gm-Message-State: AOUpUlEBq32f+V6Zzfyee+W7XzRlczDseOKu7ELbKbJ7DfXAnlh/c+Ue nkKanATMTCVRDScLQuCqG0a2Lp6RE8hgjw== X-Google-Smtp-Source: AAOMgpdprFWuyyMLNVnfUaVyWzuxTFF0X/0aopw5dlFHTKQySZ6tPtDx2TjCzx0Ee3p/uhqXYdo+6g== X-Received: by 2002:a02:503:: with SMTP id e3-v6mr178355jad.29.1532054816631; Thu, 19 Jul 2018 19:46:56 -0700 (PDT) From: dana Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: [PATCH] Completion: Add _nginx Message-Id: <6A155426-FDC3-4972-B066-D1C4955D2CD0@dana.is> Date: Thu, 19 Jul 2018 21:46:55 -0500 To: Zsh hackers list X-Mailer: Apple Mail (2.3445.6.18) Simple one: completion for nginx dana diff --git a/Completion/Unix/Command/_nginx = b/Completion/Unix/Command/_nginx new file mode 100644 index 000000000..7d785c822 --- /dev/null +++ b/Completion/Unix/Command/_nginx @@ -0,0 +1,20 @@ +#compdef nginx + +local -ah signals=3D( + 'quit\:shut down gracefully (SIGQUIT)' + 'reload\:reload configuration (SIGHUP)' + 'reopen\:re-open log files (SIGUSR1)' + 'stop\:shut down quickly (SIGTERM)' +) + +_arguments -s -S : \ + '(: * -)'{-\?,-h}'[display help information]' \ + '(: * -)-v[display version information]' \ + '(: * -)-V[display version information and configure options]' \ + '-c+[specify configuration file]:configuration file:_files' \ + '-g+[specify global configuration directives]:configuration = directives' \ + '-p+[specify prefix path]:prefix path:_directories' \ + '(-s)-q[suppress non-error messages (with -t/-T)]' \ + "(-q -t -T)-s+[send specified signal to master = process]:signal:((${(j< >)${(@q-)signals}}))" \ + '(-s -T)-t[test configuration]' \ + '(-s -t)-T[test and dump configuration]'