Re: mc exit to current directory behavior
Andrey Smirnov via mc-devel <mc-devel-+hD5IHI5XseWCegYutOAJTiNl0CLU6MPYPYVAmT7z5s@public.gmane.org> Wed, 21 Jun 2023 13:49:30 +0300
| Newsgroups | gmane.comp.gnome.apps.mc.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============8596862930180963452==
Content-Type: multipart/alternative;
boundary="------------wNkCmLc8xboElLl0y3BcWG0r"
Content-Language: en-US
This is a multi-part message in MIME format.
--------------wNkCmLc8xboElLl0y3BcWG0r
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
On 20.06.2023 18:29, Dave Plater via mc-devel wrote:
> Hi, openSUSE's recent stable release upgrade from kde plasma5 gui from
> v24.4 to v27.4 has caused mc to exit into the directory it was started
> from instead of into mc's current directory. This is being discussed in:
>
> https://bugzilla.suse.com/show_bug.cgi?id=1203617
Did you try adding the following line that sources a wrapper when you invoke mc to your .bashrc or other place where it can be sourced? This bugzilla issue contains different ways of how to do this.
alias mc='source /usr/share/mc/mc-wrapper.sh'
Bugzilla discussion hints that something is changed in a way the
/etc/profile.d scripts are sourced. Check if the shell from which you
invoke mc is actually bash (not ash or something).
The simplest way of checking if you have the wrapper set up is to issue
command "alias" from the terminal emulator from which you try to invoke
mc. Its output should have the line mentioned above.
Best regards,
Andrey Smirnov
--------------wNkCmLc8xboElLl0y3BcWG0r
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 20.06.2023 18:29, Dave Plater via
mc-devel wrote:<br>
</div>
<blockquote type="cite"
cite="mid:cb19ed0d-785e-b861-b59d-d2c7a0a6c7e7-+MLWSsk0V5vu3wEYkePUmQ@public.gmane.org">Hi,
openSUSE's recent stable release upgrade from kde plasma5 gui from
v24.4 to v27.4 has caused mc to exit into the directory it was
started from instead of into mc's current directory. This is being
discussed in:
<br>
<br>
<a class="moz-txt-link-freetext" href="https://bugzilla.suse.com/show_bug.cgi?id=1203617">https://bugzilla.suse.com/show_bug.cgi?id=1203617</a>
<br>
</blockquote>
<pre class="bz_comment_text">Did you try adding the following line that sources a wrapper when you invoke mc to your .bashrc or other place where it can be sourced? This bugzilla issue contains different ways of how to do this.
alias mc='source /usr/share/mc/mc-wrapper.sh'</pre>
<br>
Bugzilla discussion hints that something is changed in a way the
/etc/profile.d scripts are sourced. Check if the shell from which
you invoke mc is actually bash (not ash or something).<br>
<p>The simplest way of checking if you have the wrapper set up is to
issue command "alias" from the terminal emulator from which you
try to invoke mc. Its output should have the line mentioned above.</p>
<p>Best regards,</p>
<p> Andrey Smirnov<br>
</p>
</body>
</html>
--------------wNkCmLc8xboElLl0y3BcWG0r--
--===============8596862930180963452==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--
mc-devel mailing list
mc-devel-+hD5IHI5XseWCegYutOAJTiNl0CLU6MPYPYVAmT7z5s@public.gmane.org
https://lists.midnight-commander.org/mailman/listinfo/mc-devel
--===============8596862930180963452==--