manjaro 只显示当前路劲


终端路劲太长不是很方便,于是想改为只显示当前路劲

将大写W改为小写w

vim ~/.bashrc

if [[ ${EUID} == 0 ]] ; then
                # show [email protected] when we don't have colors
                PS1='\[email protected]\h \w \$ '
        else
                PS1='\[email protected]\h \w \$ '
        fi

manjaro 只显示当前路劲

相关文章:

  • 2021-12-29
  • 2021-11-04
  • 2022-12-23
  • 2021-11-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-27
猜你喜欢
  • 2022-12-23
  • 2021-10-30
  • 2022-03-01
  • 2021-11-09
  • 2021-10-04
相关资源
相似解决方案