Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-19254

Nested commands cannot be auto-completed by pressing TAB with bash-completion in RHEL 8

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • rhel-8.0.0, rhel-9.0.0
    • bash-completion
    • None
    • None
    • Low
    • rhel-sst-cs-plumbers
    • ssg_core_services
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • None

      1. What were you trying to do that didn't work?

      Attempting to auto-complete nested commands by pressing TAB with bash-completion installed in RHEL 8 and in RHEL 9.

      2. Please provide the package NVR for which bug is seen:

      bash-completion (all RHEL 8 and 9 versions, to the best of my knowledge)

      3. How reproducible:

      Always reproducible.

      4. Steps to reproduce

         4.1. Begin typing a command with a nested command, like so:

              # less $(which subscription-

         4.2. Hit TAB to try to auto-complete            

      5. Expected results

      The nested command should auto-complete. Using the above example, we would expect the following:

              # less $(which subscription-manager

      6. Actual results

      Nothing happens. In RHEL 7, this works as expected.

              rhn-support-svashish Siteshwar Vashisht
              rhn-support-sbrockme Shawn Brockmeier
              Siteshwar Vashisht Siteshwar Vashisht
              qe-baseos-daemons qe-baseos-daemons
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: