Skip to content

Commit 979062f

Browse files
committed
fix(python): nounset mode error with no -X completions
1 parent 4d6f299 commit 979062f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

completions/python

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ _python()
4848
awk '$1 == "-X" && $2 ~ /:$/ {
4949
sub(":$","",$2); sub("=.*","=",$2); print $2
5050
}')" -- "$cur"))
51-
[[ $COMPREPLY == *= ]] && compopt -o nospace
51+
[[ ${COMPREPLY-} == *= ]] && compopt -o nospace
5252
return
5353
;;
5454
--jit)

0 commit comments

Comments
 (0)