I paste the script into my .bashrc file but then it
fails for non-root users. How is that done right?
===================================================
mc ()
{
mkdir -p $HOME/.mc/tmp 2> /dev/null
chmod 700 $HOME/.mc/tmp
MC=$HOME/.mc/tmp/mc-$$
/usr/bin/mc -P "$@" > "$MC"
cd "`cat $MC`"
rm -f "$MC"
unset MC;
}
export -f mc
===================================================
Regards,
Hugo Van Woerkom
__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - send holiday greetings for Easter, Passover
http://greetings.yahoo.com/
_______________________________________________
Mc mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/mc