On 08.10.2013 15:01, Stanislav Vlasov wrote:
8 октября 2013 г., 16:53 пользователь Artem Chuprina <[email protected]> написал:
VS> в 7 debian есть по дефолту ?
VS> я просто не знал.
Я так подозреваю, что это в отдельном пакете bash-completion, который и
включать тоже надо вручную.
Включать - точно не в ручную. Разве что для рута.
$ tail -7 /etc/skel/.bashrc
if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion
elif [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
fi
В squeeze if'ов было поменьше, но тоже подключалось.
Ой, ой...
/etc/profile:
...
if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi
---
artiom@dana:~$ ls /etc/profile.d/bash_completion.sh
/etc/profile.d/bash_completion.sh
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]