-P option
- From: hugo vanwoerkom <hugovanwoerkom yahoo com>
- To: mc <mc gnome org>
- Subject: -P option
- Date: Sun, 31 Mar 2002 23:44:59 -0800 (PST)
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/
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]