I have compared the auto-complete file in ubuntu 18.04 package with the one in debian package
and find the difference is only a semicolon
:~/ipset/usr/share/bash-completion/completions# diff ipset /usr/share/bash-completion/completions/ipset 975c975 < eval '_ipset_known_hosts() { '$(declare -f _known_hosts_real | grep -v __ltrim_colon_completions | grep -Ev "^_known_hosts_real.*$" | grep -Ev "^(\{|\})")' }' --- > eval '_ipset_known_hosts() { '$(declare -f _known_hosts_real | grep -v __ltrim_colon_completions | grep -Ev "^_known_hosts_real.*$" | grep -Ev "^(\{|\})")'; }'
replace the file of debian version works wekk for me.
I have compared the auto-complete file in ubuntu 18.04 package with the one in debian package
and find the difference is only a semicolon
:~/ipset/ usr/share/ bash-completion /completions# diff ipset /usr/share/ bash-completion /completions/ ipset known_hosts( ) { '$(declare -f _known_hosts_real | grep -v __ltrim_ colon_completio ns | grep -Ev "^_known_ hosts_real. *$" | grep -Ev "^(\{|\})")' }' known_hosts( ) { '$(declare -f _known_hosts_real | grep -v __ltrim_ colon_completio ns | grep -Ev "^_known_ hosts_real. *$" | grep -Ev "^(\{|\})")'; }'
975c975
< eval '_ipset_
---
> eval '_ipset_
replace the file of debian version works wekk for me.