Change directory in user menu?

Ben via mc <[email protected]>
Newsgroups gmane.comp.gnome.apps.mc.general
Message-ID <CANv=BrqQrPkRZvCRE+-y3xzPkem2=5FQy842jxryU4V_ifsz9Q@mail.gmail.com>
I am doing some development that involves widely disjoint directories

What I would like to do is via the User Menu, have some key commands that
change the CD for the current pane, just as if I had typed it on the
command line:

cd /User/me/src/mycode

However, with this entry...

1       change to my src directory
        cd /User/me/src/mycode

...the pane does not move. I presume this occurs because this is executed
as a script, and so the cd happens in the context of the script and is lost
when the script ends.

Is there a way to actually cd the current pane from the user menu?

TIA

-- 
mc mailing list
[email protected]
https://lists.midnight-commander.org/mailman/listinfo/mc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.