summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-11-30 20:45:14 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-11-30 20:45:14 -0800
commit47143c68b2ee3df6675dc7390e29356f4866d923 (patch)
tree4e95ae2e177600f3e0781aaef785bfec8815579c /etc
parent5423665a6424de7dca6efec0ad8b2d93ca267326 (diff)
downloadvyatta-cfg-47143c68b2ee3df6675dc7390e29356f4866d923.tar.gz
vyatta-cfg-47143c68b2ee3df6675dc7390e29356f4866d923.zip
Use new bash empty command completion
In newer version of bash the complete -E is used to do command completion at top level.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/bash_completion.d/vyatta-cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/bash_completion.d/vyatta-cfg b/etc/bash_completion.d/vyatta-cfg
index 3be5a78..7023b5c 100755
--- a/etc/bash_completion.d/vyatta-cfg
+++ b/etc/bash_completion.d/vyatta-cfg
@@ -873,7 +873,7 @@ if ! bind -p |grep -q '\\C-x\\C-o'; then
bind '"\C-x\C-o": copy-region-as-kill'
fi
-complete -F vyatta_config_complete ''
+complete -E -F vyatta_config_complete
complete -F vyatta_config_complete set
complete -F vyatta_config_complete delete
complete -F vyatta_config_complete show