aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-12-06 14:51:03 +1300
committerTom Ryder <tom@sanctum.geek.nz>2013-12-06 14:51:03 +1300
commita809180706a4de404599f297235aea7d3e69f79c (patch)
treeec6d0ea84c9ed9526fc4daea08e253f5124998f2 /bash/bashrc.d
parentAvoid top-posting emails (diff)
downloaddotfiles-a809180706a4de404599f297235aea7d3e69f79c.tar.gz
dotfiles-a809180706a4de404599f297235aea7d3e69f79c.zip
Add completion for prompt command
Diffstat (limited to 'bash/bashrc.d')
-rw-r--r--bash/bashrc.d/prompt.bash3
1 files changed, 3 insertions, 0 deletions
diff --git a/bash/bashrc.d/prompt.bash b/bash/bashrc.d/prompt.bash
index 0a6044b1..bfb61ae7 100644
--- a/bash/bashrc.d/prompt.bash
+++ b/bash/bashrc.d/prompt.bash
@@ -231,6 +231,9 @@ prompt() {
esac
}
+# Complete words
+complete -W 'on off git hg svn vcs ret job' prompt
+
# Start with full-fledged prompt
prompt on