厦门 网站建设 网站开发,传奇世界网页版官网,嘉兴网站制作怎么添加按钮,嵌入式软件开发平台有哪些【Linux】Ubuntu美化bash【教程】 文章目录 【Linux】Ubuntu美化bash【教程】1. 查看当前环境中是否有bash2. 安装Synth-Shell3. 配置Synth-Shell4. 取消greeterReference 1. 查看当前环境中是否有bash
查看当前使用的bash
echo $SHELL如下所示
sjhsjhR9000X:~$ echo $SHELL…【Linux】Ubuntu美化bash【教程】 文章目录 【Linux】Ubuntu美化bash【教程】1. 查看当前环境中是否有bash2. 安装Synth-Shell3. 配置Synth-Shell4. 取消greeterReference 1. 查看当前环境中是否有bash
查看当前使用的bash
echo $SHELL如下所示
sjhsjhR9000X:~$ echo $SHELL
/bin/bash2. 安装Synth-Shell
git clone --recursive https://github.com/andresgongora/synth-shell.git
cd synth-shell
sudo chmod x setup.sh
./setup.sh然后根据提示安装即可安装完成后打开新的终端我们接下来就可以进行配置了如下所示 3. 配置Synth-Shell
可以更改进行颜色等配置
gedit ~/.config/synth-shell/synth-shell-prompt.config4. 取消greeter
在/.bashrc文件中
## synth-shell-greeter.sh
if [ -f /home/sjh/.config/synth-shell/synth-shell-greeter.sh ] [ -n $( echo $- | grep #i ) ]; thensource /home/sjh/.config/synth-shell/synth-shell-greeter.sh
fi将这一段内容注释掉就行了 Reference
Make Your Bash Shell Beautiful 2022