mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-26 06:16:53 +03:00
9 lines
107 B
Bash
9 lines
107 B
Bash
|
mc ()
|
||
|
{
|
||
|
MC=/tmp/mc$$-"$RANDOM"
|
||
|
/usr/bin/mc -P "$@" > "$MC"
|
||
|
cd "`cat $MC`"
|
||
|
rm "$MC"
|
||
|
unset MC;
|
||
|
}
|