$HOME is a good example as a testcase, but a terrible example of it actually being a problem, because ~/file.txt is easier to type anyway.
$OLDPWD is more annoying. I think progcomp used to expand the variable on your cmdline, and then of course completion just worked normally. I think that expansion was a bug, and now we're exposed to this bug.
$HOME is a good example as a testcase, but a terrible example of it actually being a problem, because ~/file.txt is easier to type anyway.
$OLDPWD is more annoying. I think progcomp used to expand the variable on your cmdline, and then of course completion just worked normally. I think that expansion was a bug, and now we're exposed to this bug.