将ubuntu系统终端中显示的路径缩短
发布时间:2020-09-12 18:02:44 所属栏目:Ubuntu 来源:互联网
导读:sudo notepadqq .bachrc 找到 if [ $color_prompt = yes ]; then PS1=${debian_chroot:+($debian_chroot)}[033[01;32m]u@h[033[00m]:[033[01;34m]w[033[00m]$ else PS1=${debian_chroot
|
sudo notepadqq .bachrc
找到 if [ "$color_prompt" = yes ]; then
PS1='${debian_chroot:+($debian_chroot)}[ 33[01;32m]u@h[ 33[00m]:[ 33[01;34m]w[ 33[00m]$ '
else
PS1='${debian_chroot:+($debian_chroot)}u@h:w$ '
fi
unset color_prompt force_color_prompt
把最后的小写w改成W。
OK了。 (编辑:鲜蔬坊站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
推荐文章
站长推荐
- registry – 通过主机ubuntu主机中的浏览器访问在
- Ubuntu使用root用户+安装mysql5.07+基础配置
- Ubuntu使用apt-get update命令时提示Hash Sum mi
- Ubuntu16.04 64bits安装docker
- ri有空的文档 – Ubuntu 11.10,Ruby 1.9
- 在ubuntu 10上安装.NET环境
- Ubuntu 16.04 开机开启小键盘数字键
- 解决VirtualBox中Ubuntu 14.04屏幕分辨率不能设置
- Ubuntu 14.04 64位机上不带CUDA支持的Caffe配置编
- 在Ubuntu 12.04.1上从Redmine 1.3.2升级到Redmin
热点阅读
