aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/completion.bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-08-29 09:10:51 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-08-29 09:10:51 +1200
commit8b0ce5880eff6af2addb5a3d9df76eceb1c86d7a (patch)
treec734a2e5b8d944b94e540787d9259fc52df15d18 /bash/bashrc.d/completion.bash
parentCommitting start at basic completion (diff)
downloaddotfiles-8b0ce5880eff6af2addb5a3d9df76eceb1c86d7a.tar.gz
dotfiles-8b0ce5880eff6af2addb5a3d9df76eceb1c86d7a.zip
Add help completion
Diffstat (limited to 'bash/bashrc.d/completion.bash')
-rw-r--r--bash/bashrc.d/completion.bash3
1 files changed, 3 insertions, 0 deletions
diff --git a/bash/bashrc.d/completion.bash b/bash/bashrc.d/completion.bash
index d51557ae..d0b2c055 100644
--- a/bash/bashrc.d/completion.bash
+++ b/bash/bashrc.d/completion.bash
@@ -7,6 +7,9 @@ complete -d cd pushd
# command/hash/type with commands
complete -c command hash type
+# help with topics
+complete -A helptopic help
+
# set with options
complete -A setopt set