bash 4.2.46 and centos - 7.1.1503, I ran
set -x (to print debug info). Now, if I type
ls, it prints:
+ ls --color=auto a b c ++ printf '\033]0;%s@%s:%s\007' root sk-vbox '~'
All well and happy. But when I press tab on a shell variable for completion, it prints output without stack info:
echo $HO #tab key press here
$HOME $HOSTNAME $HOSTTYPE
and zero lines of stack info.
I need this stack information badly to debug an issue in which bash puts extra space on autocompletion (similar to acroread issue but possibly due to a different reason since
/etc/bash_completion.d doesn't contain the culprit,
acroread.sh in my case.)
I'm using bash 4.2.46 on CentOS Linux release 7.1.1503.