Skip to content

Commit

Permalink
Fix linting errors that snuck in.
Browse files Browse the repository at this point in the history
  • Loading branch information
cornfeedhobo committed Dec 2, 2021
1 parent bdb5289 commit 2c8ee40
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions completion/available/git.completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ done
if [[ "${_git_bash_completion_found}" == false ]]; then
_log_warning "no completion files found - please try enabling the 'system' completion instead."
fi
# shellcheck disable=SC2154 # ignore unknown
unset "${!_git_bash_completion@}"
1 change: 1 addition & 0 deletions plugins/available/autojump.plugin.bash
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ about-plugin 'Autojump configuration, see https://github.com/wting/autojump for

# Only supports the Homebrew variant, Debian and Arch at the moment.
# Feel free to provide a PR to support other install locations
# shellcheck disable=1090
if _bash_it_homebrew_check && [[ -s "${BASH_IT_HOMEBREW_PREFIX}/etc/profile.d/autojump.sh" ]]; then
source "${BASH_IT_HOMEBREW_PREFIX}/etc/profile.d/autojump.sh"
elif _command_exists dpkg && dpkg -s autojump &> /dev/null; then
Expand Down
3 changes: 1 addition & 2 deletions plugins/available/base.plugin.bash
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,7 @@ function usage() {
}

# shellcheck disable=SC2144 # the glob matches only one file
if [[ ! -e "${BASH_IT?}/plugins/enabled/todo.plugin.bash" &&
! -e "${BASH_IT?}/plugins/enabled"/*"${BASH_IT_LOAD_PRIORITY_SEPARATOR-}todo.plugin.bash" ]]; then
if [[ ! -e "${BASH_IT?}/plugins/enabled/todo.plugin.bash" && ! -e "${BASH_IT?}/plugins/enabled"/*"${BASH_IT_LOAD_PRIORITY_SEPARATOR-}todo.plugin.bash" ]]; then
# if user has installed todo plugin, skip this...
function t() {
about 'one thing todo'
Expand Down
2 changes: 1 addition & 1 deletion vendor/init.d/preexec.bash
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Disable immediate `$PROMPT_COMMAND` modification
__bp_delay_install="delayed"

# shellcheck source-path=SCRIPTDIR/../github.com/rcaloras/bash-preexec
# shellcheck source=SCRIPTDIR/../github.com/rcaloras/bash-preexec
source "${BASH_IT?}/vendor/github.com/rcaloras/bash-preexec/bash-preexec.sh"

# Block damanaging user's `$HISTCONTROL`
Expand Down

0 comments on commit 2c8ee40

Please sign in to comment.