Dr. Werner Fink 2013-05-13 07:10:17 +00:00 committed by Git OBS Bridge
parent 8cdcb4bdbf
commit ac4b5d4400
3 changed files with 20 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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()