实际上只需要将ls等命令的--colore选项打开即可,而这些都已存在,只需将~/.bashrc中的注释恢复即可
class=codetop>CODE:class=codemain>#~/.bashrc:executedbybash(1)fornon-loginshells.
exportPS1=''\h:\w\$'' umask022
#Youmayuncommentthefollowinglinesifyouwant`ls''tobecolorized: exportLS_OPTIONS=''--color=auto'' eval"`dircolors`" aliasls=''ls$LS_OPTIONS'' aliasll=''ls$LS_OPTIONS-l'' aliasl=''ls$LS_OPTIONS-lA''
#Somemorealiastoavoidmakingmistakes: aliasrm=''rm-i'' aliascp=''cp-i'' aliasmv=''mv-i'' aliasvi=''vim'' |
恢复Debian root用户bash高亮显示恢复Debian root用户bash高亮显示恢复Debian root用户bash高亮显示恢复Debian root用户bash高亮显示恢复Debian root用户bash高亮显示恢复Debian root用户bash高亮显示恢复Debian root用户bash高亮显示恢复Debian root用户bash高亮显示恢复Debian root用户bash高亮显示恢复Debian root用户bash高亮显示
阅读(663) | 评论(0) | 转发(0) |