aa
OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=23
This commit is contained in:
parent
62b095c694
commit
e27217b9d9
@ -25,6 +25,7 @@ Summary: Programmable Completion for Bash
|
|||||||
Url: http://bash-completion.alioth.debian.org/
|
Url: http://bash-completion.alioth.debian.org/
|
||||||
Group: System/Shells
|
Group: System/Shells
|
||||||
Source0: http://bash-completion.alioth.debian.org/files/%{name}-%{version}.tar.bz2
|
Source0: http://bash-completion.alioth.debian.org/files/%{name}-%{version}.tar.bz2
|
||||||
|
Source1: fix_sh_completion.patch
|
||||||
Requires: bash
|
Requires: bash
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -35,6 +36,7 @@ of the programmable completion feature of Bash 2.04 and later.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch -p 1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
|
11
fix_sh_completion.patch
Normal file
11
fix_sh_completion.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
diff -Naur a/bash_completion b/bash_completion
|
||||||
|
--- a/bash_completion 2011-02-06 20:16:00.000000000 +0100
|
||||||
|
+++ b/bash_completion 2011-09-04 09:24:24.192387001 +0200
|
||||||
|
@@ -124,6 +124,7 @@
|
||||||
|
complete -f -X '!*.lyx' lyx
|
||||||
|
complete -f -X '!@(*.@(ks|jks|jceks|p12|pfx|bks|ubr|gkr|cer|crt|cert|p7b|pkipath|pem|p10|csr|crl)|cacerts)' portecle
|
||||||
|
complete -f -X '!*.@(mp[234c]|og[ag]|@(fl|a)ac|m4[abp]|spx|tta|w?(a)v|wma|aif?(f)|asf|ape)' kid3 kid3-qt
|
||||||
|
+complete -f -X '!*' sh
|
||||||
|
# FINISH exclude -- do not remove this line
|
||||||
|
|
||||||
|
# start of section containing compspecs that can be handled within bash
|
Loading…
x
Reference in New Issue
Block a user