$ ls $HOME/xx/yy/z<TAB> becomes $ ls \$HOME/xx/yy/zz It should become $ ls $HOME/xx/yy/zz else it will fail when the user finally hits RET.
(Assume a zz file already exists. "ls" here is just an example. same for "cat" etc.) Bash 5.0.16
$ ls $HOME/xx/yy/z<TAB> becomes $ ls \$HOME/xx/yy/zz It should become $ ls $HOME/xx/yy/zz else it will fail when the user finally hits RET.
(Assume a zz file already exists. "ls" here is just an example. same for "cat" etc.) Bash 5.0.16