* PATCH: _bsd_pkg openbsd completion
@ 2008-01-04 9:47 Mustafa Oezkan
0 siblings, 0 replies; only message in thread
From: Mustafa Oezkan @ 2008-01-04 9:47 UTC (permalink / raw)
To: zsh-workers
[-- 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 \
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-01-04 9:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-04 9:47 PATCH: _bsd_pkg openbsd completion Mustafa Oezkan
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).