Below I have some useful commands to view/modify the shell in Mac or Linux. View all available shells View the current shell Change the current shell to zsh We should restart the terminal after executing the above command for the new shell to take effect. In the chsh -s we can pass any one of…
I have been playing around settings in the iTerm2 preferences to customize according to my needs, instead of creating a new profile I have made the changes to default profile itself. I want to reset all the changes I have made and start the fresh with default profile again. Using below two commands, we can…