Skip to content

Commit

Permalink
complete: fix syntax error for bash-3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Sep 25, 2022
1 parent 571ecec commit 0b3e611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core-complete.sh
Expand Up @@ -2997,7 +2997,7 @@ function ble/complete/progcomp/.compvar-reduce-cur {
cur=${cur:${#BASH_REMATCH}+1}
elif [[ $cur =~ $_ble_complete_progcomp_cur_rex_break ]]; then
cur=${cur:${#BASH_REMATCH}}
[[ ${BASH_REMATCH[5]} == @(\$*|@|\\?) ]] && cur=${BASH_REMATCH[5]#\\}$cur
case ${BASH_REMATCH[5]} in (\$*|@|\\?) cur=${BASH_REMATCH[5]#\\}$cur ;; esac
fi
}

Expand Down

0 comments on commit 0b3e611

Please sign in to comment.