Skip to content

Commit ab7c0b4

Browse files
committed
fix(pytest): add "-c file"
1 parent 9483503 commit ab7c0b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

completions/pytest

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ _pytest()
1313
local cur prev words cword split comp_args
1414
_comp_initialize -s -n : -- "$@" || return
1515

16-
local noargopts='!(-*|*[kmorpWn]*)'
16+
local noargopts='!(-*|*[kmorpcWn]*)'
1717
# shellcheck disable=SC2254
1818
case $prev in
1919
--help | --maxfail | --report | --junit-prefix | --doctest-glob | \
@@ -57,7 +57,7 @@ _pytest()
5757
_filedir log
5858
return
5959
;;
60-
--ignore)
60+
--ignore | -${noargopts}c)
6161
_filedir
6262
return
6363
;;

0 commit comments

Comments
 (0)