add brew to bashrc
This commit is contained in:
parent
b7901a08bb
commit
392147f5c8
1 changed files with 2 additions and 0 deletions
|
|
@ -2,6 +2,8 @@
|
|||
if [[ $(command -v brew) == "" ]]; then
|
||||
echo "Installing Homebrew"
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
/home/linuxbrew/.linuxbrew/bin/brew shellenv >> ~/.bashrc
|
||||
source ~/.bashrc
|
||||
else
|
||||
echo "Updating Homebrew"
|
||||
brew update
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue