📜  将 zsh 设置为默认 shell - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:18.098000             🧑  作者: Mango

代码示例2
# 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.