Ask Your Question
0

F18: Why are there no Gnome-Terminal Colors for GIT?

asked 2013-02-15 02:44:49 -0600

Chris gravatar image

updated 2013-02-15 02:46:28 -0600

I just started to learn GIT and i already wondered before why there are so less colors used in gnome-terminal in fedora.

For example in this tutorial, new changes to commit are highlighted with colors, in my terminal it s all one color.

Tutorial: http://www.youtube.com/watch?v=0Im_FrvLxXo#t=17m00s

I really love the colors e.g. in Ubunto Terminal or in this tutorial.

So what is the easiest way to get a great color scheme? Should i install another terminal (thats too much or?), start creating own colors, or looking for a "theme". Tried solarized, but this didnt affect GIT Colors.

Can anyone tell me a little bit about terminal colors and how you are customizing your terminal? I m still a beginner and would love to hear what advanced useres recommend to do.

Thanks in advance.

edit retag flag offensive close merge delete

Comments

This is not terminal specific issue. Colors can be turned on from git itself.

git config --global color.ui true

I also use this

PS1='\[\033[01;32m\]\u@\h:\[\033[01;34m\]\w\[\033[31m\]$(__git_ps1 "(%s)") \[\033[00m\]$\[\033[00m\] '

which adds some colors to my prompt and when I am in a git repo, it will tell me the branch name, also in color :)

mihkel gravatar imagemihkel ( 2013-02-15 05:45:14 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-02-15 03:00:26 -0600

Ismail Sensei gravatar image

updated 2013-02-15 03:02:28 -0600

You can install Fedora utility :

su -c "curl http://download.opensuse.org/repositories/home:/satya164:/fedorautils/Fedora_18/home:satya164:fedorautils.repo -o /etc/yum.repos.d/fedorautils.repo && yum install fedorautils"

After installation complete lunch Fedora utility enter your password root and choose "Essential tweaks and tasks" than you check "add color to terminal" and you done

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-02-15 02:44:49 -0600

Seen: 2,193 times

Last updated: Feb 15 '13