Skip to content

Commit

Permalink
[GIT] Fix bash completions
Browse files Browse the repository at this point in the history
Hub break git completions, see mislav/hub#2684
  • Loading branch information
dylanpinn committed Feb 17, 2021
1 parent cf9e3c8 commit 9738f57
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ if ENV["HOMEBREW_PROFILE"] == "work"
brew "cowbell/stuff/rea-as"
# Making SLiPs easy to use
brew "cowbell/stuff/rea-slip-utils"
# Add GitHub support to git on the command-line
brew "hub"
# Build tool for Scala projects
brew "sbt"

Expand Down
Empty file added bash_completion.d/.gitkeep
Empty file.
5 changes: 3 additions & 2 deletions bashrc.d/completion.bash
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Bash completion.
# shellcheck disable=SC1091
[[ -r "/usr/local/etc/profile.d/bash_completion.sh" ]] && . "/usr/local/etc/profile.d/bash_completion.sh"

# shellcheck source=/dev/null
[[ -r "$(brew --prefix)/etc/profile.d/bash_completion.sh" ]] && . "$(brew --prefix)/etc/profile.d/bash_completion.sh"

0 comments on commit 9738f57

Please sign in to comment.