Insert new line to bash prompts

前端 未结 1 1139
無奈伤痛
無奈伤痛 2020-12-20 12:44

This seems like a common question, but I can\'t find this anywhere on Google nor SO. Please point me to the article if you find one.

How do I insert a new line in b

相关标签:
1条回答
  • 2020-12-20 12:55

    Change the PS1 Bash prompt variable:

    PS1="\n$PS1"
    
    0 讨论(0)
提交回复
热议问题