Skip to content

Commit

Permalink
make my hg prompt a little more useful
Browse files Browse the repository at this point in the history
  • Loading branch information
jlfwong committed May 8, 2012
1 parent 97f50eb commit e30d393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .bash_profile
Expand Up @@ -25,7 +25,7 @@ function git_ps1

function hg_ps1
{
hg prompt "({branch}{@{bookmark}}{ {status}}) " 2> /dev/null
hg prompt "({root|basename}@{rev}{ {status}}{>{outgoing}}{<{incoming}}) " 2> /dev/null
}

PROMPT_COMMAND='bpwd=$(basename `pwd`); echo -ne "\033]0;\007\033k${bpwd}\033\\"'
Expand Down

0 comments on commit e30d393

Please sign in to comment.