Public bug reported: I am submitting after verifying it is really a bug by asking a question in askubuntu: https://askubuntu.com/questions/1010931/direxpand- unexpected-behavior
With the default bash, bash option `direxpand` is unset by default: shopt direxpand direxpand off So normally when I type: proc=/proc ls $proc/<tab> I should see no expansion, but I see ls /proc/ After investigation it is the bash-completion script which overide direxpand. I do not know if this could be avoided... version: Ubuntu 16.04.3 LTS ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: bash 4.3-14ubuntu1.2 ProcVersionSignature: Ubuntu 4.10.0-28.32~16.04.2-generic 4.10.17 Uname: Linux 4.10.0-28-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.10 Architecture: amd64 CurrentDesktop: Unity Date: Fri Mar 2 06:08:05 2018 ExecutablePath: /bin/bash InstallationDate: Installed on 2017-08-04 (209 days ago) InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801) SourcePackage: bash UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: bash (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug xenial -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to bash in Ubuntu. https://bugs.launchpad.net/bugs/1752850 Title: bash-completion script prevent direxpand to be effective Status in bash package in Ubuntu: New Bug description: I am submitting after verifying it is really a bug by asking a question in askubuntu: https://askubuntu.com/questions/1010931 /direxpand-unexpected-behavior With the default bash, bash option `direxpand` is unset by default: shopt direxpand direxpand off So normally when I type: proc=/proc ls $proc/<tab> I should see no expansion, but I see ls /proc/ After investigation it is the bash-completion script which overide direxpand. I do not know if this could be avoided... version: Ubuntu 16.04.3 LTS ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: bash 4.3-14ubuntu1.2 ProcVersionSignature: Ubuntu 4.10.0-28.32~16.04.2-generic 4.10.17 Uname: Linux 4.10.0-28-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.10 Architecture: amd64 CurrentDesktop: Unity Date: Fri Mar 2 06:08:05 2018 ExecutablePath: /bin/bash InstallationDate: Installed on 2017-08-04 (209 days ago) InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801) SourcePackage: bash UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1752850/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp