milis/talimatname/genel/bash-completion/bash-completion.kur-kos

13 lines
236 B
Plaintext

if [ -f .bashrc ];
then
if ! grep "/etc/bash_completion" .bashrc ;
then
echo ". /etc/bash_completion" >> .bashrc
fi
else
if ! grep "/etc/bash_completion" /etc/bashrc ;
then
echo ". /etc/bash_completion" >> /etc/bashrc
fi
fi