Steve Losh 3/17/2009

Mercurial Bash Prompts

Read Original

This technical blog post details how to customize a bash shell prompt to display the current Mercurial (hg) branch and repository status (clean/dirty). It provides code snippets for .bashrc, explains the logic, and mentions the author's subsequent creation of a more elegant hg-prompt extension.

Mercurial Bash Prompts

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet