aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-08-28 23:34:57 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-08-28 23:34:57 +1200
commit746a37a140733a57ee6228b5bfbf3c373deaf494 (patch)
treee924c40865f9e4e4e02b033f2897ae5e09458381 /bash/bashrc
parentMove options into .bashrc (diff)
downloaddotfiles-746a37a140733a57ee6228b5bfbf3c373deaf494.tar.gz
dotfiles-746a37a140733a57ee6228b5bfbf3c373deaf494.zip
Hook prevents loading unwanted bash-completion
This speeds up logins by a *lot*
Diffstat (limited to 'bash/bashrc')
-rw-r--r--bash/bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 2501696f..f9b0e38d 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -61,6 +61,9 @@ shopt -u mailwarn 2>/dev/null
# Ignore me if I try to complete an empty line
shopt -s no_empty_cmd_completion 2>/dev/null
+# Use programmable completion, if available
+shopt -s progcomp 2>/dev/null
+
# Load any supplementary scripts
if [[ -d $HOME/.bashrc.d ]]; then
for config in "$HOME"/.bashrc.d/*; do