docs/wiki/installation/index.mdown @ 1cb3af183d2f

Fix for Mercurial 2.9 (issue #33)
author Jeffrey Gelens <jeffrey@gelens.org>
date Mon, 10 Feb 2014 14:14:04 +0100
parents 0b2242d65b92
children (none)
Installation
============

Installing `hg-prompt` requires [Python][] 2.5+ and (obviously) Mercurial.

[Python]: http://python.org/

First, clone the repository:

    :::console
    $ hg clone http://bitbucket.org/sjl/hg-prompt/

Edit the `[extensions]` section in your `~/.hgrc` file:

    :::cfg
    [extensions]
    prompt = (path to)/prompt.py

Make sure everything is working:

    :::console
    $ hg prompt 'test'
    test

Take a look at the [Quick Start][] guide to learn how to put some useful
information into your shell prompt.

[Quick Start]: /quickstart/