标签: bash colors
标题说明了一切。例如,当我进入/my-app-1/时,我可能希望我的PS1为绿色:
/my-app-1/
...但是如果我在/my-app-2/内则为蓝色:
/my-app-2/