bashrc: Read global and local completion runes.
authorMark Wooding <mdw@ncipher.com>
Mon, 11 Dec 2006 16:50:39 +0000 (16:50 +0000)
committerMark Wooding <mdw@ncipher.com>
Mon, 11 Dec 2006 16:50:39 +0000 (16:50 +0000)
This means we can collect the GIT completion runes, among other stuff.

bashrc

diff --git a/bashrc b/bashrc
index a172640..60fed8a 100644 (file)
--- a/bashrc
+++ b/bashrc
@@ -130,6 +130,9 @@ alias e="$EDITOR"
 alias svn="svnwrap svn"
 alias @="ssh"
 
+[ -r /etc/bash_completion ] && . /etc/bash_completion
+[ -r $HOME/.bash_completion ] && . $HOME/.bash_completion
+
 # --- Make `xt' start an xterm, maybe logging into a remote host ---
 
 xt () {