Ticket #4188 (new defect)

Opened 8 months ago

Last modified 7 months ago

Warning: Cannot change to <path>.. with Fish shell

Reported by: pronobis Owned by:
Priority: minor Milestone: Future Releases
Component: mc-core Version: 4.8.26
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description (last modified by andrew_b) (diff)

With mc 4.8.26, the support for the Fish shell improved considerably. However, every time I start mc, for a split second, the following warning shows up:
Warning: Cannot change to <path>..

Yet, the panels are pointing to the correct <path> and the shell pwd is also correct. So, in summary, this just seems to be an annoying message.

GNU Midnight Commander 4.8.26
Built with GLib 2.56.4
Built with S-Lang 2.3.2 with terminfo database
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
With ext2fs attributes support
Virtual File Systems:
 cpiofs, tarfs, sfs, extfs, ftpfs, sftpfs, fish
Data types:
 char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;

Attachments

mc_fish_first_command.diff (2.2 KB) - added by pronobis 7 months ago.

Change History

comment:1 Changed 8 months ago by andrew_b

  • Version changed from master to 4.8.26
  • Description modified (diff)

comment:2 Changed 7 months ago by pronobis

To add some more information, a related problem occurs when a command from the user menu is executed. It will work sometimes, but do nothing the first time the command is executed after the active window is changed or the mc window is resized. This problem, as well as the "cannot change to" problem described above is worked around by the attached patch.

Changed 7 months ago by pronobis

Note: See TracTickets for help on using tickets.