From e88abc2949d8c8adaac1ecfe726bbf4f309b71a0 Mon Sep 17 00:00:00 2001 From: Hyacinthe Cartiaux Date: Mon, 5 Aug 2019 15:07:40 +0200 Subject: [PATCH] [bash] Fix break statement for bash 5.0.3 / Debian 10 --- bash/bashrc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bash/bashrc b/bash/bashrc index 657e29b..1c32ebf 100755 --- a/bash/bashrc +++ b/bash/bashrc @@ -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