diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-11-30 20:45:14 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-11-30 20:45:14 -0800 |
commit | 47143c68b2ee3df6675dc7390e29356f4866d923 (patch) | |
tree | 4e95ae2e177600f3e0781aaef785bfec8815579c /etc | |
parent | 5423665a6424de7dca6efec0ad8b2d93ca267326 (diff) | |
download | vyatta-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-x | etc/bash_completion.d/vyatta-cfg | 2 |
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 |