Installed bash using brew not sourcing system wide `/etc/bash.bashrc`
Closed this issue · 1 comments
cevhyruz commented
Please fill out the issue checklist below and provide all the requested information.
- ran a
brew
command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Linuxbrew/homebrew-core: https://github.com/Linuxbrew/homebrew-core/issues/new/choose. If it's abrew cask
problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap. - ran
brew update
and can still reproduce the problem? - ran
brew doctor
, fixed all issues and can still reproduce the problem? - ran
brew config
andbrew doctor
and included their output with your issue?
To help us debug your issue please explain:
- What you were trying to do (and why)
I installed another bash shell bybrew install bash
- What happened (include command output)
It was running fine actually, the problem is it didn't source the/etc/bash.bashrc
- Step-by-step reproduction instructions (by running
brew
commands)
Install bash usingbrew install bash
change default shellchsh /home/linuxbrew/.linuxbrew/bin/bash
restart terminal.
sjackman commented
Add source /etc/bash.bashrc
to your local ~/.bashrc
.