These are two bugs actually. The original complaint about '$ completing environment variables is valid IMO. The bash-completion package does the right thing here and completes to: '$#!~'. The builtin completion tries to complete environment variables. So this bug is in the builtin completion of bash.
The other thing is the automatic quoting of $ characters when using cd. This is a bug in the bash-completion package. The builtin completion works correctly. So this part of the bug is actually the same as #177243. -- bash tab complete faulty where filename starts with $ https://bugs.launchpad.net/bugs/19364 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs