[Voyage-linux] SOLVED: slow ssh login on wrap/alix with voyage-0.7.x (0.6.x)
Stéphane Acounis
(spam-protected)
Tue Jul 12 17:32:30 HKT 2011
Le Tue, 12 Jul 2011 17:21:59 +0800
"Kim-man 'Punky' TSE" <punkytse at punknix.com> a écrit:
> Hi Beat,
>
> Why not just remove bash-completion?
>
> Regards,
> Punky
Hello,
Why not executing bash_completion when in interactive shell only?
case "$-" in
*i*) echo This shell is interactive ;;
*) echo This shell is not interactive ;;
esac
or
if [ -z "$PS1" ]; then
echo This shell is not interactive
else
echo This shell is interactive
fi
--
Stéphane ACOUNIS
SUBATECH Nantes - Service d'Électronique
Tél: 02-51-85-84-28 06-64-62-99-20
«Faut pas se laisser abattre» devise Kennedy
More information about the Voyage-linux
mailing list