Actualizar la versión bash mac
brew install bash
sudo echo '/usr/local/bin/bash' >> /etc/shells
sudo chsh -s /usr/local/bin/bash
Armandres
brew install bash
sudo echo '/usr/local/bin/bash' >> /etc/shells
sudo chsh -s /usr/local/bin/bash
#!/usr/bin/env bashecho $BASH_VERSION