bash-completion.kur-kos 236 B

12345678910111213
  1. if [ -f .bashrc ];
  2. then
  3. if ! grep "/etc/bash_completion" .bashrc ;
  4. then
  5. echo ". /etc/bash_completion" >> .bashrc
  6. fi
  7. else
  8. if ! grep "/etc/bash_completion" /etc/bashrc ;
  9. then
  10. echo ". /etc/bash_completion" >> /etc/bashrc
  11. fi
  12. fi