RFE - add support for for directory environment variable in bash

Solution In Progress - Updated -

Issue

  • In bash-4.3, when use tab to auto complete the variable, if the variable is
    a directory, it will append a "/" after the variable.
# ls $HOM    -> click TAB
# ls $HOME/
  • RHEL provides bash-4.2 in RHEL7, it will append a space after the variable.
# ls $HOM    -> click TAB
# ls $HOME<space>

Environment

  • Red Hat Enterprise Linux 7
  • bash-4.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.