mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-24 05:16: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;
|
|
}
|