From 19cc8fc7f8dd8028bb5001ac17b7439df436cfe1 Mon Sep 17 00:00:00 2001 From: m2Giles <69128853+m2Giles@users.noreply.github.com> Date: Fri, 2 Feb 2024 13:30:26 -0500 Subject: [PATCH] fix: brew completions detections. missing ! for not if the symlink isn't present. --- toolboxes/bluefin-cli/files/etc/profile.d/bash_completion.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolboxes/bluefin-cli/files/etc/profile.d/bash_completion.sh b/toolboxes/bluefin-cli/files/etc/profile.d/bash_completion.sh index 5621df4..aed9e98 100644 --- a/toolboxes/bluefin-cli/files/etc/profile.d/bash_completion.sh +++ b/toolboxes/bluefin-cli/files/etc/profile.d/bash_completion.sh @@ -15,7 +15,7 @@ if [ "x${BASH_VERSION-}" != x -a "x${PS1-}" != x -a "x${BASH_COMPLETION_VERSINFO # Source completion code. . /usr/local/share/bash-completion/bash_completion fi - if test -L /home/linuxbrew/.linuxbrew/etc/bash_completion.d/brew; then + if ! test -L /home/linuxbrew/.linuxbrew/etc/bash_completion.d/brew; then /home/linuxbrew/.linuxbrew/bin/brew completions link fi if test -d /home/linuxbrew/.linuxbrew/etc/bash_completion.d; then