Posts

Showing posts with the label colorized terminal

Git Configuration: Colorize Output

Git has this feature that allows its terminal output to be colorized. There are various options to do that, and one of it is through the color.ui You can choose how you want the terminal coloring but if you want to colorize all git output, set color.ui to true git config --global color.ui true Here are the settings you may use for color.ui : true → set colors to all git terminal output false → never colors the output always → always set colors to the output even when piping git with another command Setting specific colors to git commands git config --global color.branch true git config --global color.diff true git config --global color.status true git config --global color.log true

Ubuntu Color in Terminal

Image
In ubuntu, you can actually add colors to the plain old terminal simply by turning on a flag in your terminal settings. Open your shell prompt and edit the file `.bashrc`, a configuration file for the terminal. It's usually in the home directory. $ nano ~/.bashrc Now look for the line and remove the `#`: # force_color_prompt=yes Save the changes. Then source the file for the changes to take effect or restart your terminal. $ source ~/.bashrc Now you will see your terminal colorized.