From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24848 invoked by alias); 3 Apr 2018 09:27:19 -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: 42577 Received: (qmail 25835 invoked by uid 1010); 3 Apr 2018 09:27:19 -0000 X-Qmail-Scanner-Diagnostics: from rcpt-mqugw.biglobe.ne.jp 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(133.208.100.3):SA:0(-2.6/5.0):. Processed in 0.896396 secs); 03 Apr 2018 09:27:19 -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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: takimoto-j@kba.biglobe.ne.jp X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | X-Biglobe-Sender: From: Jun T Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: PATCH: completion for strings Date: Tue, 3 Apr 2018 17:49:02 +0900 References: <13770.1522310984@thecus> To: zsh-workers@zsh.org In-Reply-To: <13770.1522310984@thecus> Message-Id: X-Mailer: Apple Mail (2.3273) X-Biglobe-Spnum: 65246 Minor fixes for macOS. diff --git a/Completion/Unix/Command/_strings = b/Completion/Unix/Command/_strings index 8eeff704b..b13366dd2 100644 --- a/Completion/Unix/Command/_strings +++ b/Completion/Unix/Command/_strings @@ -56,9 +56,9 @@ else '-a[look everywhere in file, not just initialised data space of = object files]' ) case $OSTYPE in - darwin) + darwin*) local -a arch - arch=3D( ${${${"$(_call_program architectures strings -arch \? = 2>&1)"}#*flags are: }%%$'\n'*} ) + arch=3D( ${(z)${${"$(_call_program architectures strings -arch - = 2>&1)"}#*flags are: }%%$'\n'*} all ) args+=3D( '-arch[specify the architecture]:architecture:compadd = -a arch' ) ;; esac