diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-12-06 14:51:03 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-12-06 14:51:03 +1300 |
commit | a809180706a4de404599f297235aea7d3e69f79c (patch) | |
tree | ec6d0ea84c9ed9526fc4daea08e253f5124998f2 | |
parent | Avoid top-posting emails (diff) | |
download | dotfiles-a809180706a4de404599f297235aea7d3e69f79c.tar.gz dotfiles-a809180706a4de404599f297235aea7d3e69f79c.zip |
Add completion for prompt command
-rw-r--r-- | bash/bashrc.d/prompt.bash | 3 |
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 |