aboutsummaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
authorMiquel Sabaté <mikisabate@gmail.com>2013-07-31 14:15:53 +0200
committerMiquel Sabaté <mikisabate@gmail.com>2013-07-31 14:15:53 +0200
commit18fdd7f94abf047860b2946e439b619c5144250d (patch)
tree055a31855b57020282b0d515dd357d1f08aea523 /bashrc
parent8e945a3a972071c9f17b0abfd64c8472bbd91b46 (diff)
downloaddotfiles-18fdd7f94abf047860b2946e439b619c5144250d.tar.gz
dotfiles-18fdd7f94abf047860b2946e439b619c5144250d.zip
Added bash completion for mercurial.
It's the contrib/bash_completion file from the mercurial repo (http://selenic.com/hg/).
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index 4cf49b7..e93dfa8 100644
--- a/bashrc
+++ b/bashrc
@@ -19,6 +19,9 @@ alias vi=vim
source $HOME/.gitcompletion.sh
PS1='\u:\w$(__git_ps1 "\[\033[0;32m\]@\[\033[1;32m\]%s\[\033[0m\]\]") $ '
+# hg completion
+source $HOME/.hgcompletion.sh
+
# Rake completion
complete -C $HOME/.rake_completion -o default rake