1
2
3
4
5
  
sudo pacman -S bash-completion
  
echo "source /usr/share/bash-completion/bash_completion" >>/home/$USER/.bashrc