diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2008-02-14 17:22:20 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2008-02-14 17:22:20 -0800 |
commit | ddde28df595efaf70ec7b281464203339d2b2f8f (patch) | |
tree | 3ab960f6d27be46082b8da84265d8a9b84799f1f | |
parent | 2c7d42c518187e4e2ee36ddb14c36fc4d5e12bbd (diff) | |
download | vyatta-op-ddde28df595efaf70ec7b281464203339d2b2f8f.tar.gz vyatta-op-ddde28df595efaf70ec7b281464203339d2b2f8f.zip |
bind '?' to "possible-completions" for help
-rw-r--r-- | etc/bash_completion.d/10vyatta-op | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/bash_completion.d/10vyatta-op b/etc/bash_completion.d/10vyatta-op index c3a778e..4eb5ba2 100644 --- a/etc/bash_completion.d/10vyatta-op +++ b/etc/bash_completion.d/10vyatta-op @@ -35,6 +35,9 @@ test -z "$_vyatta_default_pager" && \ --no-lessopen" declare -x VYATTA_PAGER=$_vyatta_default_pager +# use '?' for help +bind '"?": possible-completions' + test -f /etc/default/vyatta && \ source /etc/default/vyatta |