Blame bash-completion-1.3-manpager-689180.patch
|
Ville Skyttä |
7d79fb |
diff -up bash-completion-1.3/completions/perl~ bash-completion-1.3/completions/perl
|
|
Ville Skyttä |
7d79fb |
--- bash-completion-1.3/completions/perl~ 2011-01-21 11:36:11.000000000 +0200
|
|
Ville Skyttä |
7d79fb |
+++ bash-completion-1.3/completions/perl 2011-04-15 23:32:36.110480132 +0300
|
|
Ville Skyttä |
7d79fb |
@@ -112,7 +112,7 @@ _perldoc()
|
|
Ville Skyttä |
7d79fb |
if [[ "$cur" != */* ]]; then
|
|
Ville Skyttä |
7d79fb |
_perlmodules
|
|
Ville Skyttä |
7d79fb |
COMPREPLY=( "${COMPREPLY[@]}" $( compgen -W \
|
|
Ville Skyttä |
7d79fb |
- '$( PAGER=/bin/cat man perl | \
|
|
Ville Skyttä |
7d79fb |
+ '$( MANPAGER=/bin/cat PAGER=/bin/cat man perl | \
|
|
Ville Skyttä |
7d79fb |
sed -ne "/perl.*Perl overview/,/perlwin32/p" | \
|
|
Ville Skyttä |
7d79fb |
awk "\$NF=2 { print \$1}" | command grep perl )' -- "$cur" ) )
|
|
Ville Skyttä |
7d79fb |
fi
|