一招告诉你怎样牛逼的显示终端,命令提示符


cat /etc/profile ======> . /etc/profile #使之生效
D=$'\e[37;40m' PINK=$'\e[35;40m' GREEN=$'\e[32;40m' ORANGE=$'\e[33;40m' hg_ps1() { hg prompt "{${D} on ${PINK}{branch}}{${D} at ${ORANGE}{bookmark}}{${GREEN}{status}}" 2> /dev/null } export PS1='\n${PINK}\u ${D}at ${ORANGE}\h ${D}in ${GREEN}\w`hg_ps1`\ ${D}\n\$ '

 

相关文章:

  • 2021-10-02
  • 2022-01-13
  • 2021-06-20
  • 2021-06-04
  • 2021-07-27
  • 2021-05-27
  • 2021-09-27
猜你喜欢
  • 2022-12-23
  • 2021-06-02
  • 2022-12-23
  • 2022-02-11
  • 2021-07-07
  • 2022-12-23
相关资源
相似解决方案