This question already has an answer here:
it seems my
bash-completion got corrupted. Every time I try to use command substitution, for example when I type
ls $(ls Deskto<Tab>
ls $(ls Desktobash unexpected eof while looking for matching ")".
I tried removing my
.bashrc file and
cp /etc/skel/bashrc ~/ to get a new one. That works until I add something into my new bashrc. Even when I do
echo '#" >> ./.bashrc it breaks again. Removing my
bash_aliases did not help either.
sudo apt-get install --reinstall bash-completion did not do the trick.
However there are some threads about similar problem, nothing works.
ANY hint will be greatly appreciated! :)