Skip to content

Commit

Permalink
add homebrew shellenv setting
Browse files Browse the repository at this point in the history
also make sure that happens before the shell completion thing that
expects `brew` to be in the path.

Not sure why this hasn't been an issue before, but setting up a new
computer is always something, even with this help.
  • Loading branch information
ymendel committed Dec 9, 2023
1 parent b9ca2b1 commit 216070a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions homebrew/shellenv.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[[ -x "/opt/homebrew/bin/brew" ]] && eval "$(/opt/homebrew/bin/brew shellenv)"
2 changes: 1 addition & 1 deletion shell/bashrc.symlink
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export DOTFILES_HOME="$HOME/.dotfiles"

# source all .bash files nested anywhere in the dotfiles
for f in $(find -H $DOTFILES_HOME -name *.bash -type f)
for f in $(find -s -H $DOTFILES_HOME -name *.bash -type f)
do
source $f
done
Expand Down

0 comments on commit 216070a

Please sign in to comment.