We now need to add this to our /etc/shells file so we can set it as our default shell. This will likely print /usr/local/bin/bash. Then, determine where bash got installed: which bash ITSYCAL BREW INSTALLTo install the latest version of bash: brew install bash To see what shell is currently your default, run: echo $SHELL If you're going to stick with zsh, checkout Oh My Zsh which gives you a bunch of customizations out of the box. If you are a beginner, you probably don't need to replace your shell with bash. These files might run on zsh, but there might be some compatibility issues. sh files) are meant to be run on sh (Bourne shell) or bash (Bourne again shell). Also, most shell scripts you come across (. I prefer bash because every remote linux machine I log into uses bash. Mac now comes with zsh as the default shell. This allows me to use the keyboard shortcuts I know and love inside of iTerm2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |