Ticket #3355 (accepted enhancement)

Opened 5 years ago

Last modified 4 weeks ago

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

Reported by: egmont Owned by: andrew_b
Priority: minor Milestone: 4.8.25
Component: mc-core Version: master
Keywords: Cc:
Blocked By: #4050 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)

comment:1 Changed 4 weeks ago by andrew_b

  • Status changed from new to accepted
  • Owner set to andrew_b
  • Blocked By 4050 added
  • Milestone changed from Future Releases to 4.8.25

comment:2 Changed 4 weeks ago by andrew_b

Fixed in 4050_cleanup branch.

Note: See TracTickets for help on using tickets.