From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7312 invoked by alias); 20 Dec 2011 23:47:50 -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: X-Seq: 30035 Received: (qmail 579 invoked from network); 20 Dec 2011 23:47:48 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.213.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=+KfUEaR4NaLuDhfZ4frEmwffA5YczS3zp+34roBrAjs=; b=gozNgetCk3nqAXvVZpmKAvmZWtF4XTgjWZ+2BlTscsDOE25XbH1sMwJAQc1Pzbsl1J Ol3dZ8qbqPml3V+XSnPRrTLqi8rTC/8wxX+rT3MS9TZRTi2raE34j0lmK9pKPLfIciE/ esme0HJEWEa6wkVlvr7kkoj9BfXpemS2c+HQY= MIME-Version: 1.0 From: "T.C. Hollingsworth" Date: Tue, 20 Dec 2011 16:47:22 -0700 Message-ID: Subject: PATCH: add new arguments to systemctl completion To: zsh-workers@zsh.org Content-Type: text/plain; charset=UTF-8 This patch adds recently added arguments to systemctl that aren't in the zsh completion script yet. --- Index: Completion/Unix/Command/_systemctl =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_systemctl,v retrieving revision 1.3 diff -u -r1.3 _systemctl --- Completion/Unix/Command/_systemctl 21 Nov 2011 11:31:24 -0000 1.3 +++ Completion/Unix/Command/_systemctl 20 Dec 2011 23:45:59 -0000 @@ -43,6 +43,7 @@ '--global[Enable/disable unit files globally]' \ {-f,--force}'[When enabling unit files, override existing symlinks. When shutting down, execute action immediately]' \ '--defaults[When disabling unit files, remove default symlinks only]' \ + '--root=[Enable unit files in the specified root directory]:directory:_directories' \ '*::systemctl command:_systemctl_command' } @@ -73,8 +74,13 @@ "status:Show runtime status of one or more units" "show:Show properties of one or more units/jobs or the manager" "reset-failed:Reset failed state for all, one, or more units" + "list-unit-files:List installed unit files" "enable:Enable one or more unit files" "disable:Disable one or more unit files" + "preset:Enable/disable one or more unit files based on preset configuration" + "mask:Mask one or more units" + "unmask:Unmask one or more units" + "link:Link one or more units into the search path" "is-enabled:Check whether unit files are enabled" "load:Load one or more units" "list-jobs:List jobs"