zsh-workers
 help / color / mirror / code / Atom feed
From: Mustafa Oezkan <destruct.c@gmx.net>
To: zsh-workers@sunsite.dk
Subject: PATCH: _bsd_pkg openbsd completion
Date: Fri, 4 Jan 2008 10:47:12 +0100	[thread overview]
Message-ID: <20080104094712.GA3821@xenon.codefish.lan> (raw)

[-- Attachment #1: Type: text/plain, Size: 234 bytes --]

Hi,

i added some openbsd specific completion to _bsd_pkg. I hope some guys
who are running OpenBSD, can do some testing and report bugs.

Thx and regarts
Mustafa Oezkan

-- 
There's a difference between, doing wrong and being wrong.

[-- Attachment #2: _bsd_pkg.patch --]
[-- Type: text/plain, Size: 1307 bytes --]

--- Completion/BSD/Command/_bsd_pkg.orig	2007-12-28 21:14:25.309830589 +0100
+++ Completion/BSD/Command/_bsd_pkg	2008-01-04 10:45:49.339036114 +0100
@@ -58,7 +58,23 @@
       '-v[be verbose]'
     )
 
-    case "$OSTYPE" in
+  case "$OSTYPE" in
+    openbsd*)
+      flags=(
+	'-u[update given pkgname(s), else all installed packages]'
+	'-x[disable progress-meter]'
+	'-r[replace existing packages]'
+	'-q[replace package quickly, do not bother checking md5s]'
+	'-a[automated package installation; not record packages as installed manually]'
+	'-i[interactive mode]'
+	'-c[delete extra configuration file in old package while replacing]'
+	'-P[check permissions for distribution]'
+	'-F[force installation]'
+	'-L[install a package under localbase]'
+	'-v[be verbose, several -v be more verbose]'
+    )
+    ;;
+
     freebsd*)
       flags=(
         $flags[@]
@@ -155,6 +171,17 @@
 	'-V[show version and exit]'
       )
       ;;
+    openbsd*)
+      flags=(
+	'-c[delete extra configuration file]'
+	'-I[if scripts exist do not execute them]'
+	'-i[interactive mode]'
+	'-n[don'\''t really deinstall packages]'
+	'-q[delete package quickly, don'\''t bother md5s before removing]'
+	'-v[be verbose, several -v be more verbose]'
+	'-x[disable progress-meter]'
+	)
+	;;
     esac
 
     _arguments -s \

                 reply	other threads:[~2008-01-04  9:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080104094712.GA3821@xenon.codefish.lan \
    --to=destruct.c@gmx.net \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).