Skip to content

Commit

Permalink
fix(pytest): add "-c file"
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Dec 19, 2022
1 parent d9690e1 commit f7785a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions completions/pytest
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ _pytest()
local cur prev words cword split comp_args
_comp_initialize -s -n : -- "$@" || return

local otherflags='!(-*|*[kmorpWn]*)'
local otherflags='!(-*|*[kmorpcWn]*)'
# shellcheck disable=SC2254
case $prev in
--help | --maxfail | --report | --junit-prefix | --doctest-glob | \
Expand Down Expand Up @@ -57,7 +57,7 @@ _pytest()
_filedir log
return
;;
--ignore)
--ignore | -${otherflags}c)
_filedir
return
;;
Expand Down

0 comments on commit f7785a9

Please sign in to comment.