Skip to content

Commit 8e4dc1e

Browse files
sudonym1akinomyoga
andauthored
Update bash_completion
Co-authored-by: Koichi Murase <[email protected]>
1 parent 229ef02 commit 8e4dc1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bash_completion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ dequote()
157157
# Param: $* Variable names to be unset
158158
_comp_unlocal()
159159
{
160-
if [[ ${BASH_VERSINFO[0]} -ge 5 ]] && shopt -q localvar_unset
160+
if ((BASH_VERSINFO[0] >= 5)) && shopt -q localvar_unset
161161
then
162162
shopt -u localvar_unset
163163
unset -v "$@"

0 commit comments

Comments
 (0)