[Bug 2760] cd Command With No Arguments

bugzilla-daemon at bugzilla.mindrot.org
Fri, 03 Nov 2017 03:07:26 -0000

CC|                            |djm at mindrot.org,
                   |                            |dtucker at zip.com.au
           Assignee|unassigned-bugs at mindrot.org |djm at mindrot.org
   Attachment #3083|                            |ok?(dtucker at zip.com.au)
              Flags|                            |

--- Comment #1 from Damien Miller <djm at mindrot.org> ---
Created attachment 3083
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3083&action=edit
support ch/lcd with no arguments

This implements most of your request. The problem is that sftp can't
determine the actual user home directory on the remote side, so this
saves the directory that the session starts in and uses that.