Skip to content

Commit 758788a

Browse files
tfendinsio
authored andcommitted
#27 Honour dynamic completion loading when it's done with
python3-argcomplete
1 parent a498597 commit 758788a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bash_completion

+1-1
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ _bcpp() {
313313
if [[ "$KEYS" == *o* ]] # --cooperate|--override
314314
then
315315
local DYNAMIC
316-
DYNAMIC=$(complete -p|grep -E -- '-D.*_completion_loader|_completion_loader.*-D')
316+
DYNAMIC=$(complete -p|grep -E -- '-D.*_completion_loader|_completion_loader.*-D|_python_argcomplete_global.*-D')
317317

318318
local _bcpp_filedir_original_code
319319
_bcpp_filedir_original_code=$(declare -f _filedir|tail -n+2)

0 commit comments

Comments
 (0)