Setting up the “perfect” terminal in OS X

These days I’ve been playing with the new version of ITerm: ITerm2. I totally recommend it. It has many amazing features such as: full screen terminal, vertical/horizontal split (not tabs), Growl notifications, etc.

After that I’ve configured Solarized as my color scheme in both IntelliJ Idea and ITerm, and is really clear, light and clean.

Besides that, with a couple of lines in some config files I’ve configured bash to show colors in the prompt. You just need to edit the file /etc/profile and add:

alias ls=’ls -G’

and the file /etc/bashrc:

PS1=”\[33[35m\][\u@\h:\w]$ “

Instead of those, you can edit your local files .bashrc and .profile but it will apply only to your user.

If you want more details about the prompt configuration or the colors, please check this.

Advertisements
This entry was posted in Scripting and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s