The task consists of two times:
- Upgrade bash from brew using brew upgrade bash "
- The solution (aka step 1) requires opening a terminal, but this is not so.
So thatβs what I did. As it turned out, the old version of bash is not compatible with the new readline update. So the deal is to look for the readline location in the search.
In my case, it is in /usr/local/Cellar/readline
Inside the above readline directory, I found two directories: "6.3.8" and "7.0" .
I renamed "7.0" to "7.0-old"
Created a new directory "7.0" and copied the contents of "6.3.8" in it.
Hooray! The terminal is now opening.
Now run "brew upgrade bash" from the terminal. And at the same time, restore the readline directory to its previous state, as shown below:
- Delete the directory "7.0" you created.
- Rename "7.0-old" to "7.0"
You feel good now. Hooray!
karthiks
source share