To make Zsh the default shell, the executable filepath of Zsh needs to be located. Once found, it can be appended to the list of executable shells. Prior to adding it to the list, its location must be determined. For instance, upon running the command mentioned previously, the output displayed will show options such as “Enter fullscreen mode” and “Exit fullscreen mode”.
set zsh as default shell
# Open vim or your favorite code editor sudo vim ~/.bashrc # Now we need to edit the file and add the following line to the end of the file remember to add a comment just to remember, what is that line of code task. exec zsh # It will execute the command every time you load the terminal and run your zsh shell.