Skip to content

Commit

Permalink
fix (completion): suppress 1091 in brew (#2130)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbhaxor authored Feb 23, 2023
1 parent af11a50 commit e38696a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions completion/available/brew.completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ fi
_bash_it_homebrew_check || return 0

if [[ -r "$BASH_IT_HOMEBREW_PREFIX/etc/bash_completion.d/brew" ]]; then
# shellcheck disable=1090
# shellcheck disable=1090,1091
source "$BASH_IT_HOMEBREW_PREFIX/etc/bash_completion.d/brew"

elif [[ -r "$BASH_IT_HOMEBREW_PREFIX/Library/Contributions/brew_bash_completion.sh" ]]; then
# shellcheck disable=1090
# shellcheck disable=1090,1091
source "$BASH_IT_HOMEBREW_PREFIX/Library/Contributions/brew_bash_completion.sh"

elif [[ -f "$BASH_IT_HOMEBREW_PREFIX/completions/bash/brew" ]]; then
# For the git-clone based installation, see here for more info:
# https://github.com/Bash-it/bash-it/issues/1458
# https://docs.brew.sh/Shell-Completion
# shellcheck disable=1090
# shellcheck disable=1090,1091
source "$BASH_IT_HOMEBREW_PREFIX/completions/bash/brew"
fi

0 comments on commit e38696a

Please sign in to comment.