dev-python/typer: fix sed expression
This commit is contained in:
parent
3d1fbe5892
commit
ba96c101ad
|
@ -77,7 +77,7 @@ typer_gencomp() {
|
|||
compfile="$(typer_get_comp "${@}")"
|
||||
|
||||
_TYPER_COMPLETE_TEST_DISABLE_SHELL_DETECTION=1 python -m typer --show-completion "${shell}" |
|
||||
sed 's/python -m //g ; s/_PYTHON _M //g ; s/python_m/g' > "${compfile}" ||
|
||||
sed 's/python -m //g ; s/_PYTHON _M //g ; s/python_m//g' > "${compfile}" ||
|
||||
die "failed to generate ${shell} completion"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue