Previously I wrote about
aliases, however I just swtiched back to
zsh and thought I’d share some of my
.bashrc-file. I also switched from TotalTerminal to iTerm 2.
Bored with the orignial colors in your bash? Try these:
This will set the following up:
Before we defined our
PS1 we define the colors we need. Note the
RESET color, which resets the
PS1 to default color.
PROMPT_COMMAND will be run after each command. Here we can create the dynamic
Note that the
PS1 is actually on one line, but wraps here
git_prompt.rb script is “stolen” directly from vigo’s .dotfiles repository.
Note the Look of Disaproval (
ಠ_ಠ) when the exit status isn’t
Behold the bash
When all is done, it will look something like this: