Skip to content

Commit

Permalink
fix: brew completions detections.
Browse files Browse the repository at this point in the history
missing ! for not if the symlink isn't present.
  • Loading branch information
m2Giles authored Feb 2, 2024
1 parent 7ab6b72 commit 19cc8fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 19cc8fc

Please sign in to comment.