Linux Bash Prompt

Here is my bash prompt, with the following features:

  • Red ✘ if the previous command has failed, otherwise a green ✔.
  • Shows running time of the previous command
  • Separate line for path and command

Example

screenshot_2016-11-07_06-24-23

Installation

Add this to your .bashrc:

Sources