mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +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;
|
||
|
}
|