summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2008-02-27 18:42:41 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2008-02-27 18:42:41 -0800
commit9e85d04ebf37720954e66dbc129ee84b792eae05 (patch)
tree803f681fd772aec28056ad1ab645f384c3cbea52 /etc
parenta1fc2f044f2e08b78931821068d08e2ea384ff10 (diff)
downloadvyatta-op-9e85d04ebf37720954e66dbc129ee84b792eae05.tar.gz
vyatta-op-9e85d04ebf37720954e66dbc129ee84b792eae05.zip
Revert "* fix for bug 2771: bind space to completion for vbash users."
This reverts commit a1fc2f044f2e08b78931821068d08e2ea384ff10.
Diffstat (limited to 'etc')
-rw-r--r--etc/bash_completion.d/10vyatta-op22
1 files changed, 2 insertions, 20 deletions
diff --git a/etc/bash_completion.d/10vyatta-op b/etc/bash_completion.d/10vyatta-op
index db5ae9d..4eb5ba2 100644
--- a/etc/bash_completion.d/10vyatta-op
+++ b/etc/bash_completion.d/10vyatta-op
@@ -35,26 +35,8 @@ test -z "$_vyatta_default_pager" && \
--no-lessopen"
declare -x VYATTA_PAGER=$_vyatta_default_pager
-_vyatta_op_do_key_bindings ()
-{
- # if vbash
- # use '?' for help
- # use ' ' for completion
- if [ "$SHELL" == "/bin/vbash" ]; then
- if [ -f $HOME/.vyatta_key_query_help_disable ]; then
- bind '"?": self-insert'
- else
- bind '"?": possible-completions'
- fi
- if [ -f $HOME/.vyatta_key_space_complete_disable ]; then
- bind '" ": self-insert'
- else
- bind '" ": complete'
- fi
- fi
-}
-
-_vyatta_op_do_key_bindings
+# use '?' for help
+bind '"?": possible-completions'
test -f /etc/default/vyatta && \
source /etc/default/vyatta