I have read so many suggestions about, not putting your customization aka commands in \".profile\" file. Rather, create a .bash_profile for yourself and add your alias and e
You can use zsh
to fix the problem.
The Z shell (also known as
zsh
) is a Unix shell that is built on top ofbash
(the default shell for macOS) with additional features. It's recommended to usezsh
overbash.
Installation
$ brew install zsh
$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
.bash_profile
setting .zshrc
filesource ~/.zshrc