1
0

Accepting request 175213 from shells

- Add patch pushd-completion-bnc818365.patch for bnc#818365 -- bash
  completion for builtin command "pushd" is missing

OBS-URL: https://build.opensuse.org/request/show/175213
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bash-completion?expand=0&rev=21
This commit is contained in:
Stephan Kulow 2013-05-16 07:43:30 +00:00 committed by Git OBS Bridge
commit e00705e516
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 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 Source1: bash-completion-rpmlintrc
# PATCH-FIX-UPSTREAM bnc#717151 -- Terminal tab autocompletion error # PATCH-FIX-UPSTREAM bnc#717151 -- Terminal tab autocompletion error
Patch0: %{name}-%{version}.patch 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 BuildRequires: pkg-config
Requires: bash Requires: bash
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -39,6 +41,7 @@ of the programmable completion feature of Bash 2.04 and later.
%prep %prep
%setup -q %setup -q
%patch0 -b .p0 %patch0 -b .p0
%patch1 -b .p1
%build %build
%configure %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()