Ticket #3355 (closed enhancement: fixed)

Opened 9 years ago

Last modified 4 years 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: 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 9 years ago.
Fix for sh (todo: csh needs to be fixed too)

Change History

Changed 9 years ago by egmont

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

comment:1 Changed 4 years ago by andrew_b

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

comment:2 Changed 4 years ago by andrew_b

Fixed in 4050_cleanup branch.

comment:3 Changed 4 years ago by andrew_b

  • Blocked By 4050 removed

comment:4 Changed 4 years ago by andrew_b

  • Status changed from accepted to testing
  • Resolution set to fixed

comment:5 Changed 4 years ago by andrew_b

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.