wildcard tab complete not working as expected in centos 7
Hi,
I am trying to use an * to tab complete a system path. This used to work in CentOS 6 but it is not working CentOS 7. What I want it to do is is this: when I type this Code:
ls -al /etc/sysconfig/*n Code:
ls -al /etc/sysconfig/rhn/ This currently works: If I were to just hit enter at Code:
[root@dhcp_test ~]# ls -al /etc/sysconfig/*n I have bash completion installed. I have been trying to compare my shopt and complete options between CentOS 6 and CentOS 7 - and so far I have been unsuccessful. They are the same or the changes that I have done have no effect. Does anyone have any suggestions? |
well... I removed the bash-completion rpm. and now it works... everything works... even tab complete of commands, which is what I thought that rpm did.
I'm at a loss, but at least it is working now. EDIT: I figured out what the bash-completion rpm does it enables you to tab complete out a whole command like Code:
systemctl is-enabled firewalld.service |
All times are GMT -5. The time now is 07:03 AM. |