Bash completion and hg tweaks