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 @@ -852,7 +852,7 @@ _comp_finalize()
852852{
853853 (( ${# _comp_finalize__depth[@]} )) || return 0
854854 while (( ${# FUNCNAME[@]} <= ${_comp_finalize__depth[-1]} )) ; do
855- if [[ ${# FUNCNAME[@]} -eq ${_comp_finalize__depth[-1]} && ${FUNCNAME[1]} == " ${_comp_finalize__target[-1]} " ]]; then
855+ if [[ ${# FUNCNAME[@]} -eq ${_comp_finalize__depth[-1]} && ${FUNCNAME[1]- } == " ${_comp_finalize__target[-1]} " ]]; then
856856 # Call finalizer for each command
857857 local cmd=${words[0]-} _comp_local_hook
858858 if [[ $cmd ]]; then
@@ -921,7 +921,7 @@ _init_completion()
921921 trap _comp_finalize RETURN
922922 fi
923923 _comp_finalize__depth+=(" ${# FUNCNAME[@]} " )
924- _comp_finalize__target+=(" ${FUNCNAME[1]} " )
924+ _comp_finalize__target+=(" ${FUNCNAME[1]- } " )
925925 fi
926926
927927 while getopts " n:e:o:i:s" flag " $@ " ; do
You can’t perform that action at this time.
0 commit comments