Package: bash-completion
Version: 20060301-4
Severity: wishlist
Tags: patch

This patch adds OpenDocument / ODF file completion for unzip / zipinfo.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.18-6-amd64 (SMP w/2 CPU cores)
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages bash-completion depends on:
ii  bash                          3.1dfsg-9  The GNU Bourne Again SHell
ii  ucf                           3.005      Update Configuration File: preserv

bash-completion recommends no packages.

-- no debconf information
--- /etc/bash_completion~       2008-01-19 21:47:46.000000000 +0100
+++ /etc/bash_completion        2008-03-27 13:54:51.000000000 +0100
@@ -79,7 +79,7 @@
 #
 # START exclude -- do NOT remove this line
 complete -f -X '!*.?(t)bz?(2)' bunzip2 bzcat bzcmp bzdiff bzegrep bzfgrep 
bzgrep
-complete -f -X 
'!*.@(zip|ZIP|jar|JAR|exe|EXE|pk3|war|wsz|ear|zargo|xpi|sxw|ott)' unzip zipinfo
+complete -f -X 
'!*.@(zip|ZIP|jar|JAR|exe|EXE|pk3|war|wsz|ear|zargo|xpi|sxw|ott|odt|ods|odp|odg|odf)'
 unzip zipinfo
 complete -f -X '*.Z' compress znew
 complete -f -X '!*.@(Z|gz|tgz|Gz|dz)' gunzip zcmp zdiff zcat zegrep zfgrep 
zgrep zless zmore
 complete -f -X '!*.Z' uncompress

Reply via email to