Re: exit in current directory ?

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/ ]; then
  . /usr/local/mc/share/mc/bin/
elif [ -f /usr/local/share/mc/bin/ ]; then
  . /usr/local/share/mc/bin/
elif [ -f /usr/share/mc/bin/ ]; then
  . /usr/share/mc/bin/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]