Describe the bug
ifup in fedora doesn't complete since configured interfaces since the interface configuration is in /etc/NetworkManager/system-connections/ now by default, and _comp_compgen_configured_interfaces only looks for files like this: /etc/sysconfig/network-scripts/ifcfg-*.
To reproduce
- Use a recent fedora system with configured interfaces in
/etc/NetworkManager/system-connections/
- type
ifup <TAB>
- No completions
Expected behavior
_comp_compgen_configured_interfaces should check for /etc/NetworkManager/system-connections/*.nmconnection files to get configured interfaces.
Versions (please complete the following information)
Additional context
Found in #1280