-P option
hugo vanwoerkom
hugovanwoerkom at yahoo.com
Mon Apr 1 07:44:59 UTC 2002
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/
More information about the mc
mailing list