Skip to content

Commit

Permalink
perl: Remove full path to cat in PERLDOC_PAGER call
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Sep 4, 2016
1 parent d3c483c commit 06e4c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completions/perl
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ _perldoc()
_perl_helper perldocs $perl
if [[ $cur == p* ]]; then
COMPREPLY+=( $( compgen -W \
'$( PERLDOC_PAGER=/bin/cat "$1" -u perl | \
'$( PERLDOC_PAGER=cat "$1" -u perl | \
command sed -ne "/perl.*Perl overview/,/perlwin32/p" | \
awk "\$NF=2 && \$1 ~ /^perl/ { print \$1 }" )' \
-- "$cur" ) )
Expand Down

0 comments on commit 06e4c48

Please sign in to comment.