1
0
Fork 0
mirror of https://github.com/hcartiaux/dotfiles.git synced 2024-10-18 17:25:23 +02:00

[bash] Fix break statement for bash 5.0.3 / Debian 10

This commit is contained in:
Hyacinthe Cartiaux 2019-08-05 15:07:40 +02:00
parent ee19ff7a4f
commit e88abc2949

View file

@ -90,10 +90,7 @@ test -n "$PS1" && test $bmajor -gt 1 && (
for f in /usr/local/etc/bash_completion \ for f in /usr/local/etc/bash_completion \
/opt/local/etc/bash_completion \ /opt/local/etc/bash_completion \
/etc/bash_completion; do /etc/bash_completion; do
test -f $f && ( test -f $f && . $f && break
. $f
break
)
done done
) )
unset bash bmajor bminor unset bash bmajor bminor