系统相关
首页 > 系统相关> > Linux 将zsh 变为 bash默认

Linux 将zsh 变为 bash默认

作者:互联网

尝鲜一时爽,回头火葬场

前几天尝试了zsh,风格很炫酷,但是目录切换以及目录提示太过温馨,让我怀念起bash的简朴,我就想回到bash。

虽然我知道,bash直接就可以回到,但是我不想默认zsh了。

1. 卸载zsh

离别的话:和平分手!

Oh My Zsh isn’t for everyone. We’ll miss you, but we want to make this an easy breakup.

If you want to uninstall oh-my-zsh, just run uninstall_oh_my_zsh from the command-line. It will remove itself and revert your previous bash or zsh configuration.

直接运行:

uninstall_oh_my_zsh

2. 修改默认bash

chsh -s /usr/bin/bash

然后输入你的密码,更改就可以了

3. 重启

久违的bash,他虽然简朴,但是适合的才是最好的

标签:oh,zsh,默认,Linux,my,bash,uninstall
来源: https://blog.51cto.com/u_15242286/2844004