From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 503 invoked by alias); 21 Jan 2018 04:38:49 -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: 42309 Received: (qmail 9627 invoked by uid 1010); 21 Jan 2018 04:38:49 -0000 X-Qmail-Scanner-Diagnostics: from mail-oi0-f41.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.218.41):SA:0(-1.7/5.0):. Processed in 1.298528 secs); 21 Jan 2018 04:38:49 -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.7 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_PASS,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.1 X-Envelope-From: phy1729@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-disposition:user-agent; bh=MgqHQzaoL+UXfVLwiUmJX/0gA4auO8urYwym47Sz4Zc=; b=BHB+klbMWBZEHL3IntPQ8h1VgRITOsDzEo+o93HVtGl2uMgPN82LXAE85A7XGYcrjC rrLLW2Wf7Qgm2Uawn6DS+Ms2bEXOoqCxFdYNV7NioYJJXhU4NYeSDoJQNXYMrdESGj0x vHl/ZrZfp2vnP8w3WP22ObkLNp++nTd3p4Bc8jCX5lClv0EdMnD7WQgOpLplF+gQTocF rKEiuLVuO8qYRkPbmJ8nWnER10EOldhpKu5wVY9l7CgtlNO/GQmuWhotEo4z8+eoixho JD8KahQypP2hoDWmIVkOBay5qkS7FI4bnukx4JlccgcaQxgQ1V4adtGy8ih9QmdNbQKq h4Lg== 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:subject:message-id:mail-followup-to :mime-version:content-disposition:user-agent; bh=MgqHQzaoL+UXfVLwiUmJX/0gA4auO8urYwym47Sz4Zc=; b=iKLsb+OtKIR+s4wi88xQJ0VX8drfW4CkSklpUpBQg6T3Rf9XYDJct9KwFbeue2zpDX hw7EKePVRm/VRKjcNDlgJgHzwuV5Pp00b08VofsKW1LzTISCHDSCQ7Aa5BxNMCR80xy5 WwnFfMwIhL8ofZy63+Cu8sfjlvfZmWU5C+pSZ86epgNMTheRDICW+hzW3X+S+gC6BQMa t8hBirq5hiPNYOZW0Ji6D7i8131CS7UI7in6qw9zF5l16JcU5zf4b7VZrsmDxbYLdxz8 uURUBG9fHoI4wCLL26140/JuA5mz/eHupkwlcQ6E+5kEEp+Vc23iZ5t/rPE1aLeQsXlj rdnA== X-Gm-Message-State: AKwxytfxDWUHnIl9HOJzTRfl1HuKc2aQuYmYbQ0oEsfV5ysfD0PUXysZ K78gNoUAIlOgIB7kwKGcAEC97+cf X-Google-Smtp-Source: AH8x224lUzxToBF2SOBb10ybuSi9ocws0R+Z4S3eNqYYgNfROQQG6O6xerkmxpFRtede6Jb0QA9DUA== X-Received: by 10.202.204.85 with SMTP id c82mr1576820oig.160.1516509524794; Sat, 20 Jan 2018 20:38:44 -0800 (PST) Date: Sat, 20 Jan 2018 22:38:41 -0600 From: Matthew Martin To: zsh-workers@zsh.org Subject: [patch] Few OpenBSD updates Message-ID: <20180121043840.GA29750@CptOrmolo.darkstar> Mail-Followup-To: zsh-workers@zsh.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.2 (2017-12-15) A few small updates for OpenBSD. - Matthew Martin diff --git a/Completion/Unix/Command/_dhclient b/Completion/Unix/Command/_dhclient index af38a28e6..b5889df21 100644 --- a/Completion/Unix/Command/_dhclient +++ b/Completion/Unix/Command/_dhclient @@ -20,6 +20,7 @@ case $OSTYPE in args+=( '-i+[ignore values provided by leases for specified options]:options' '-L+[specify file to write option data too]:file:_files' + "-n[don't configure any interfaces]" ) ;; *) # ISC implementation, used on Linux and NetBSD diff --git a/Completion/Unix/Command/_id b/Completion/Unix/Command/_id index 95580ba76..a0a03faad 100644 --- a/Completion/Unix/Command/_id +++ b/Completion/Unix/Command/_id @@ -32,7 +32,11 @@ else ) ;; openbsd*) - args+=( '(-)-R[display the routing table of the current process]' ) + args+=( + '(-)-c[display the login class]' + '(-)-p[make the output human readable]' + '(-)-R[display the routing table of the current process]' + ) ;; darwin*|dragonfly*|freebsd*) args+=( '(-)-P[print id in the form of a password file entry]' ) diff --git a/Completion/Unix/Command/_install b/Completion/Unix/Command/_install index 25d9dfcaa..f5056b5d0 100644 --- a/Completion/Unix/Command/_install +++ b/Completion/Unix/Command/_install @@ -48,13 +48,13 @@ else '-L+[use user/group database files from specified directory]: :_directories' '-l[fall back to system files if user/group not found in -L directory]' ) - [[ $OSTYPE == netbsd* ]] && { - args+=( - '-a+[specify shell command to run on files after install]:shell command' - '-r[use temporary files to perform safe copy]' - '-S+[specify arguments to pass to strip program]:arguments to strip program' - ) - # NetBSD has no -v for some reason + [[ $OSTYPE == netbsd* ]] && args+=( + '-a+[specify shell command to run on files after install]:shell command' + '-r[use temporary files to perform safe copy]' + '-S+[specify arguments to pass to strip program]:arguments to strip program' + ) + [[ $OSTYPE == (net|open)bsd* ]] && { + # (Net|Open)BSD has no -v for some reason args=( ${args##((#s)|*\))(\*|)-v*} ) } [[ $OSTYPE == openbsd* ]] && args+=(