【求助】切换root后终端显示颜色
Tofloor
poster avatar
dgg
deepin
2019-01-26 08:10
Author


大佬们,终端切换root用户后,如何设置文件和文件夹的颜色啊,像普通用户一样,使文件夹和文件的字体颜色不同。谢谢

Reply Favorite View the author
All Replies
avatar
要讲武德
deepin
2019-01-26 08:31
#1
用什么命令切换到root的?

试试fish shell呢
Reply View the author
avatar
dgg
deepin
2019-01-26 08:45
#2
https://bbs.deepin.org/post/174253
用什么命令切换到root的?

试试fish shell呢

用的sudo root
Reply View the author
avatar
dgg
deepin
2019-01-26 08:50
#3
https://bbs.deepin.org/post/174253
用什么命令切换到root的?

试试fish shell呢

fish可以,但是每次都要输入fish下,就是有点麻烦,本人强迫症患者
Reply View the author
avatar
funtoo
deepin
2019-01-26 17:13
#4
给root设置个ls=‘ls --color=auto'的别名就可以了
Reply View the author
avatar
要讲武德
deepin
2019-01-26 18:23
#5
https://bbs.deepin.org/post/174253
fish可以,但是每次都要输入fish下,就是有点麻烦,本人强迫症患者

设置默认shell  

chsh -s /usr/bin/fish

https://segmentfault.com/a/1190000017011390
Reply View the author