if i use bash-completion (added [ -f /etc/profile.d/bash-completion ] && source /etc/profile.d/bash-completion to .bashrc) the set command has some strange output (a shell-script-source). If i disable bash-completion it works fine. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Lots more information needed in order to help you out. post the output of emerge --info as requested on the bug submission page and post specific output or error messages that you're seeing. Thanks.
Created attachment 30431 [details] emerge info output
Created attachment 30432 [details] set output
That is because "set" at least on bash also displays all functions too. bash-completion is done entirely with such functions. The variables are still there at the top of the output (use `set | less`). I understand it's annoying i dislike that behavior too but it's the way bash works. I even did an alias to list vars: alias var='set | while read i && [[ "$i" != *\ \(\)* ]] ; do echo $i ; done'