File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -901,7 +901,7 @@ _comp_finalize()
901901{
902902 (( ${# _comp_finalize__depth[@]} )) || return 0
903903 while (( ${# FUNCNAME[@]} <= ${_comp_finalize__depth[-1]} )) ; do
904- if [[ ${# FUNCNAME[@]} -eq ${_comp_finalize__depth[-1]} && ${FUNCNAME[1]} == " ${_comp_finalize__target[-1]} " ]]; then
904+ if [[ ${# FUNCNAME[@]} -eq ${_comp_finalize__depth[-1]} && ${FUNCNAME[1]- } == " ${_comp_finalize__target[-1]} " ]]; then
905905 # Call finalizer for each command
906906 local cmd=${words[0]-} _comp_local_hook
907907 if [[ $cmd ]]; then
@@ -970,7 +970,7 @@ _init_completion()
970970 trap _comp_finalize RETURN
971971 fi
972972 _comp_finalize__depth+=(" ${# FUNCNAME[@]} " )
973- _comp_finalize__target+=(" ${FUNCNAME[1]} " )
973+ _comp_finalize__target+=(" ${FUNCNAME[1]- } " )
974974 fi
975975
976976 while getopts " n:e:o:i:s" flag " $@ " ; do
You can’t perform that action at this time.
0 commit comments