-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[homebrew] Cleanup profile, add Brewfile
- Loading branch information
Showing
3 changed files
with
27 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
tap "homebrew/bundle" | ||
brew "coreutils" | ||
brew "asdf" | ||
brew "bash" | ||
brew "bash-completion" | ||
brew "git" | ||
brew "gnu-tar" | ||
brew "mosh" | ||
brew "ripgrep" | ||
brew "tmux" | ||
brew "vim" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Homebrew installs in /opt/homebrew on Apple Sillicon and in /usr/local for MacOS Intel | ||
[ -d "/opt/homebrew/bin" ] && export PATH="/opt/homebrew/bin:$PATH" | ||
if [ -n "$(type -p brew)" ]; then | ||
eval "$(brew shellenv)" | ||
|
||
# Homebrew coreutils are installed with a `g` prefix so as to not conflict with system utils | ||
[ -d "${HOMEBREW_PREFIX}/opt/coreutils/libexec/gnubin" ] && export PATH="${HOMEBREW_PREFIX}/opt/coreutils/libexec/gnubin:$PATH" | ||
[ -d "${HOMEBREW_PREFIX}/opt/gnu-tar/libexec/gnubin" ] && export PATH="${HOMEBREW_PREFIX}/opt/gnu-tar/libexec/gnubin:$PATH" | ||
|
||
[ -f "${HOMEBREW_PREFIX}/etc/bash_completion" ] && . "${HOMEBREW_PREFIX}/etc/bash_completion" # brew install bash-completion | ||
fi |