Colorize filename according to svn status

后端 未结 2 868
自闭症患者
自闭症患者 2021-01-17 10:07

When invoking ls, I would like to have file names with a different color depending on their subversion status. For example, an added file will be cyan, a modifi

2条回答
  •  天涯浪人
    2021-01-17 10:40

    Here's a Gist with the 3rd generation of a small script to colorize SVN output. It works perfectly for svn status commands. I just added alias svns="/path/to/svn-color.py status" to my .bash_profile and now I can type svns and see the color-coded output. The author recommends making svn default to his script.

提交回复
热议问题