From ac4b5d4400bd14f188a1502781877a00595ceaf0cab11d68cc7faa839eb0147e Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 13 May 2013 07:10:17 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=48 --- bash-completion.changes | 6 ++++++ bash-completion.spec | 3 +++ pushd-completion-bnc818365.patch | 11 +++++++++++ 3 files changed, 20 insertions(+) create mode 100644 pushd-completion-bnc818365.patch diff --git a/bash-completion.changes b/bash-completion.changes index 1a768c7..a0e3a83 100644 --- a/bash-completion.changes +++ b/bash-completion.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 13 07:08:49 UTC 2013 - werner@suse.de + +- Add patch pushd-completion-bnc818365.patch for bnc#818365 -- bash + completion for builtin command "pushd" is missing + ------------------------------------------------------------------- Tue Apr 23 15:42:50 UTC 2013 - werner@suse.de diff --git a/bash-completion.spec b/bash-completion.spec index 6f6d887..403d717 100644 --- a/bash-completion.spec +++ b/bash-completion.spec @@ -27,6 +27,8 @@ Source0: http://bash-completion.alioth.debian.org/files/%{name}-%{version Source1: bash-completion-rpmlintrc # PATCH-FIX-UPSTREAM bnc#717151 -- Terminal tab autocompletion error Patch0: %{name}-%{version}.patch +# PATCH-PATCH-EXTEND-OPENSUSE bnc#818365 -- bash completion for builtin command "pushd" is missing +Patch1: pushd-completion-bnc818365.patch BuildRequires: pkg-config Requires: bash BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -39,6 +41,7 @@ of the programmable completion feature of Bash 2.04 and later. %prep %setup -q %patch0 -b .p0 +%patch1 -b .p1 %build %configure diff --git a/pushd-completion-bnc818365.patch b/pushd-completion-bnc818365.patch new file mode 100644 index 0000000..0566610 --- /dev/null +++ b/pushd-completion-bnc818365.patch @@ -0,0 +1,11 @@ +--- bash_completion ++++ bash_completion 2013-05-13 06:58:59.717922133 +0000 +@@ -1620,6 +1620,8 @@ if shopt -q cdable_vars; then + else + complete -F _cd -o nospace cd + fi ++complete -F _cd -o nospace rmdir pushd chroot ++complete -F _cd -o nospace -o dirnames mkdir + + # a wrapper method for the next one, when the offset is unknown + _command()