Add Color to your Life, Add color to your Terminal OSX

Trabajar con un terminal en Linux es muy agradable dado a que es muy fácil diferenciar los archivos de las carpetas por sus colores, pero a la hora de abrir un Terminal en OS-X nos damos cuenta que esos colores no existen por lo que se hace fundamental agregar colores para hacer mas agradable el trabajo.
Terminal sin Colores

Lo siguiente es abrir el Terminal y escribir lo siguiente:

sudo nano bash_profile
A continuación copiamos y pegamos el siguiente texto:

export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
Luego para guardar los cambios Ctrl + O 

Reiniciamos el Terminal y vemos los cambios.

Ahora para entender un poco la asignación de colores en:

export LSCOLORS=GxFxCxDxBxegedabagaced
Asignación de colores:
a black
b red
c green
d brown
e blue
f magenta
g cyan
h light grey
A bold black, usually shows up as dark grey
B bold red
C bold green
D bold brown, usually shows up as yellow
E bold blue
F bold magenta
G bold cyan
H bold light grey; looks like bright white
x default foreground or background

Y el orden de los atributos:
1. directory
2. symbolic link
3. socket
4. pipe
5. executable
6. block special
7. character special
8. executable with setuid bit set
9. executable with setgid bit set
10. directory writable to others, with sticky bit
11. directory writable to others, without sticky bit


Si quieres personalizar los colores, por Ej: que tus directorios sean de color Azul, es tan solo reemplazar   el primer carácter por E.

export LSCOLORS=ExFxCxDxBxegedabagaced
Guardamos Ctrl + O, reiniciamos el terminal y veremos los cambios efectuados.
Terminal con los directorios de color Azul.

De esa manera puedes agregar y personalizar colores de un Terminal en OSX.

Comentarios

Anónimo dijo…
Everything is very open with a clear clarification of the challenges.
It was really informative. Your website is very helpful.
Thank you for sharing!

Have a look at my website :: http://pme.serasaexperian.com.br/rede-de-negocios/groups/cash-for-gold-intended-for-beginners/
Anónimo dijo…
I don't know if it's just me or if everybody else encountering issues with your site.
It looks like some of the text in your content are running off the screen.
Can somebody else please comment and let me know if this is happening
to them too? This may be a problem with my browser because I've had this happen previously. Thanks

my web page :: 87810
Also see my webpage - 12171
Anónimo dijo…
I'm astounded at how straight forward you make this topic look via your articles, but I must say I still don't quite havе
an unԁerstanԁing of іt. It seems too compleх
аnd extrеmely extensive foг mе.
I am eagеr for youг subsequent publishings, I will tгy to get
the gist οf it.

Alѕο visit my pаge ordinateur personnel
Anónimo dijo…
Howdy this is somewhat of off topic but I was wanting to know if blogs use WYSIWYG editors
or if you have to manually code with HTML. I'm starting a blog soon but have no coding knowledge so I wanted to get advice from someone with experience. Any help would be greatly appreciated!

Here is my web-site: jai alai betting sites
Anónimo dijo…
What's up, after reading this amazing article i am also delighted to share my familiarity here with friends.

Also visit my web site :: get rid herpes
Anónimo dijo…
Way cool! Some very valid points! I appreciate you penning this article and also
the rest of the website is also really good.



Visit my web blog Plumbers Dublin
Anónimo dijo…
Great delivery. Outstanding arguments. Keep up the
great spirit.

Also visit my homepage: http://backgroundrevealed.com
Anónimo dijo…

http://www.petinsuranceuks.co.uk You must assume that your insurance coverage will have stipulations and loopholes. You have to make sure that the insurance coverage will take care of catastrophic occasions which may affect you. Because of that, it's much expensive to insure a dog than a cat.

Entradas más populares de este blog

3D Characters for Blender 3D using Adobe Face and MakeHuman

Automatix2 en Ubuntu Feisty