Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 1.72 KB

INSTALL.md

File metadata and controls

40 lines (34 loc) · 1.72 KB

Installation

Requirements

  • Mac OS X or Linux. prompt.bash is mainly developed for Mac OS X but it works smoothly under Linux too.

  • Python 2.7+

  • A terminal emulator with support for ANSI colors. Most terminal emulators works out of the box, in particular:

    • Terminal, the default terminal emulator in Mac OS X;
    • iTerm2, the app for Mac OS X;
    • GNOME Terminal, the default terminal emulator in Ubuntu.

    For others, like Konsole the default terminal emulator for KDE, the right TERM type might be required in order to activate colors. If this is the case, check the TERM type with echo $TERM and if the output differs from xterm-256color, then add the following line to ~/.bashrc:

    export TERM='xterm-256color'

  • pygit2 for better native python git support (on OSX you can use Homebrew to install the required libgit2)

  • Patched fonts for better-looking glyphs. Install patched powerline-fonts and set the terminal to use them. My favorite is DejaVu Sans Mono for Powerline.

Steps

  1. Clone this repository:

     git clone https://github.com/jsjohnst/prompt.bash.git
    
  2. Run:

     ./install.py
    
  3. Optional - Edit the file prompt.py, in particular:

    • set CURRENT_THEME to your favorite theme or create a new one copying one of the existent themes;
  4. Logout and login again in the shell to see the new prompt!