shopt -s direxpand
will help, there will be no space so you can continue typing but it will replace the enviroment variable with its content.
See alsp https://stackoverflow.com/questions/6418493/bash-variable-expansion-on-tab-complete
shopt -s direxpand
will help, there will be no space so you can continue typing but it will replace the enviroment variable with its content.
See alsp https://stackoverflow.com/questions/6418493/bash-variable-expansion-on-tab-complete