Hi!
> I would like that MC remember last directory it was
> in.
I would like to add that env outputs this on a
computer
on which mc works as it should:
mc=
But on my computer it outputs:
mc=() { mkdir -p $HOME/.mc/tmp 2>/dev/null;
chmod 700 $HOME/.mc/tmp;
MC=$HOME/.mc/tmp/mc-$$;
/usr/bin/mc -
Hi!
I would like that MC remember last directory it was
in.
So I have add:
if [ -f /usr/lib/mc/bin/mc.sh ]; then
. /usr/lib/mc/bin/mc.sh
fi
to my .bashrc where mc.sh is:
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 "`c
2 matches
Mail list logo