Le 02/04/06, Christophe Gaubert <[EMAIL PROTECTED]> a
écrit :
> et je ne sais pas comment appeler le cd
> original à l'intérieur de la fonction, Jipe, t'es là ? :)
J'ai eu la réponse sur fr.comp.os.unix. Donc, voilà un deuxième essai :
function cd {
if [ -z "$1" ]; then
builtin cd /data
else
builtin cd "$@"
fi
}
--
Christophe Gaubert
http://ch4tn01r.free.fr/blog
Participez à la liste Avis de citoyens :
http://fr.groups.yahoo.com/group/Avis_de_citoyens/
=========================================
Vous souhaitez acquerir votre Pack ou des Services Mandriva?
Rendez-vous sur "http://store.mandriva.com".
Rejoignez le club mandrake : http://www.mandrivaclub.com
=========================================