Re: midnight commander internal cd in scripts



On Sun, 24 Feb 2013 22:52:19 +0200 Elad Rom wrote:
could you give an example for such a script?

Example of what?

can I run it from mc panels, or from the user menu?

Yes from mc command line only via source.

Directly from panels (pressing Enter) -- no, because script is executed in the
new child process.
From user menu -- no, because of the same reason.

You can use "Directory hotlist" to store various directories and fast cd to any
of them.

-- 
Andrew


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