Skip to content

Commit ef936af

Browse files
committed
[GIT] Fix bash completions
Hub break git completions, see mislav/hub#2684
1 parent 4beb3aa commit ef936af

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Brewfile

-2
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,6 @@ if ENV["HOMEBREW_PROFILE"] == "work"
113113
brew "cowbell/stuff/rea-as"
114114
# Making SLiPs easy to use
115115
brew "cowbell/stuff/rea-slip-utils"
116-
# Add GitHub support to git on the command-line
117-
brew "hub"
118116
# Build tool for Scala projects
119117
brew "sbt"
120118

bash_completion.d/.gitkeep

Whitespace-only changes.

bashrc.d/completion.bash

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# Bash completion.
2-
# shellcheck disable=SC1091
3-
[[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh"
2+
3+
# shellcheck source=/dev/null
4+
[[ -r "$(brew --prefix)/etc/profile.d/bash_completion.sh" ]] && . "$(brew --prefix)/etc/profile.d/bash_completion.sh"

0 commit comments

Comments
 (0)