1
0
Fork 0
mirror of https://github.com/hcartiaux/dotfiles.git synced 2024-10-18 09:15:24 +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 \
/opt/local/etc/bash_completion \
/etc/bash_completion; do
test -f $f && (
. $f
break
)
test -f $f && . $f && break
done
)
unset bash bmajor bminor