editing the ~/.zshrc file—how to add coloring to only directories and not the entire prompt?

前端 未结 0 605
星月不相逢
星月不相逢 2020-12-31 06:03

I want to color only the directories and not other files like .txt etc.

Here is my current .zshrc:

PROMPT=\'%n%F{086}—%f%M %F{057}::%f %F{028}%~%f %F{0         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题