bash-completion/bash-completion-20060301-debian.patch
Ville Skyttä 1a7a342ecd - Fix scp with single quotes (#217178).
- Borrow fix for bzip2 w/spaces, and apropos and whatis support from
    Debian.
2007-02-27 23:38:43 +00:00

21 lines
547 B
Diff

--- bash_completion~ 2007-02-28 01:11:44.000000000 +0200
+++ bash_completion 2007-02-28 01:11:44.000000000 +0200
@@ -806,7 +806,7 @@
[ $UNAME = GNU -o $UNAME = Linux -o $UNAME = Darwin \
-o $UNAME = FreeBSD -o $UNAME = SunOS -o $UNAME = Cygwin \
-o $UNAME = OpenBSD ] && \
-complete -F _man $filenames man
+complete -F _man $filenames man apropos whatis
# renice(8) completion
#
@@ -3325,7 +3323,7 @@
have bzip2 &&
_bzip2()
{
- local cur prev xspec
+ local cur prev xspec IFS=$'\t\n'
COMPREPLY=()
cur=${COMP_WORDS[COMP_CWORD]}