1a7a342ecd
- Borrow fix for bzip2 w/spaces, and apropos and whatis support from Debian.
21 lines
547 B
Diff
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]}
|