codenameyau / shiny-prompt

:unicorn: Super wonderful bash prompt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shiny-prompt

Screenshot of terminal

Prompt features:

  • displays the current directory as title
  • displays the active python virtualenv
  • displays the current branch of a git or mercurial repository
  • displays the timestamp of a command
  • displays the exit code of the previous command $ as color (white=0, red=1)

Installation

Download this file to your home directory. You can pick another prompt in src.

wget -N -O ~/.bash_prompt https://raw.githubusercontent.com/codenameyau/shiny-prompt/master/src/.bash_prompt

Add this line to your .bashrc (Linux) or .bash_profile (Mac)

echo "source ~/.bash_prompt" >> .bashrc

Lastly open a new terminal or source your .bashrc.

About

:unicorn: Super wonderful bash prompt

License:GNU General Public License v2.0


Languages

Language:Shell 100.0%