Previously I wrote about functions and aliases, however I just swtiched back to bash from zsh and thought I’d share some of my .bashrc-file. I also switched from TotalTerminal to iTerm 2.
LSCOLORS
Bored with the orignial colors in your bash? Try these:
This will set the following up:
COLORS
Before we defined our PS1 we define the colors we need. Note the RESET color, which resets the PS1 to default color.
PROMPT_COMMAND
The PROMPT_COMMAND will be run after each command. Here we can create the dynamic PS1.
Note that the PS1 is actually on one line, but wraps here