Get color prompts on your MacOS Terminal

Have you ever wondered that you would want colors to pop up on your terminal?
Software Development
by Jey Geethan | August 14, 2019

Have you ever wondered that you would want colors to pop up on your terminal? I did and it made my life easier. It helped me to understand very quickly about the following:

  • Which folder im currently in
  • Which git branch my local workspace is in
  • What terminal commands I have issued

All you have to do is to use the following script in your ~/.bash_profile


Gist link: https://gist.github.com/jeygeethan/a6d261d32cea97e9a52b82f48989c07f


Related Articles

[.NET Error] Update requires a valid UpdateCommand when passed DataRow collection with modified rows
Software Development

[.NET Error] Update requires a valid UpdateCommand when passed DataRow collection with modified rows

by Jey Geethan | March 06, 2008
This is an error, with which i was dumbfounded for weeks. But the solution is simple after understanding why it's happening

Ruby on Rails - Complex route constraints made easy
Software Development

Ruby on Rails - Complex route constraints made easy

by Jey Geethan | March 31, 2019
In Rails, we know that the routes are the most important entry-point where we define the which url hits which controller. We also know how to define the resources and add some conditions to the routing.