Skip to content

Commit b85263a

Browse files
committed
fix(perl): helper call regression from 01611dd
#965 (comment) Thanks-to: Koichi Murase <myoga.murase@gmail.com>
1 parent 4d089e8 commit b85263a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

completions/perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ _comp_cmd_perl__helper()
55
COMPREPLY=($(compgen -P "$prefix" -W \
66
"$("${1:-perl}" "${BASH_SOURCE[0]%/*}/../helpers/perl" "$2" "$cur")" \
77
-- "$cur"))
8-
[[ $1 == functions ]] || _comp_ltrim_colon_completions "$prefix$cur"
8+
[[ $2 == functions ]] || _comp_ltrim_colon_completions "$prefix$cur"
99
}
1010

1111
_comp_cmd_perl()

0 commit comments

Comments
 (0)