Re: exit in current directory ?
- From: Dmitry Semyonov <linulin hotbox ru>
- To: raptor <raptor tvskat net>
- Cc: mc gnome org
- Subject: Re: exit in current directory ?
- Date: Tue, 30 Mar 2004 00:32:27 +0400
Hello raptor,
Saturday, March 27, 2004, 3:33:55 PM, you wrote:
how to make mc exits in the dirrectory i'm in MC (after some browsing), rather in the directory from
which I started MC.
Insert something like the following into your initialisation script
(i.e. .bash_profile):
# Allow Midnight Commander to quit into last used directory
if [ -f /usr/local/mc/share/mc/bin/mc.sh ]; then
. /usr/local/mc/share/mc/bin/mc.sh
elif [ -f /usr/local/share/mc/bin/mc.sh ]; then
. /usr/local/share/mc/bin/mc.sh
elif [ -f /usr/share/mc/bin/mc.sh ]; then
. /usr/share/mc/bin/mc.sh
fi
...Bye..Dmitry.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]