Ticket #3355 (new enhancement)

Opened 5 years ago

mc-wrapper: don't cd to the same dir

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

Description

mc-wrapper.sh could be improved not to perform a cd if the shell is in the same directory.

This would make a subsequent "cd -" more convenient. If you don't alter the directory in mc, after exiting a "cd -" does nothing, whereas it could take you to the actual previous directory.

Attachments

mc-3355-wrapper-cd.patch (455 bytes) - added by egmont 5 years ago.
Fix for sh (todo: csh needs to be fixed too)

Change History

Changed 5 years ago by egmont

Fix for sh (todo: csh needs to be fixed too)

Note: See TracTickets for help on using tickets.