你在一些技术群有问题请教问题又不想暴露自己姓名,每次都打马赛克是不是很心累,快来改掉昵称吧


export PS1="[\A] sophia \w $ "

[\A]的意思是显示当前时间;
\w是显示当前路径(current working directory

 mac中终端terminal的用户路径修改方法

设置参数的补充链接:

https://ss64.com/bash/syntax-prompt.html

相关文章:

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