Skip to content

Print full-path in output of cd #5

@TheCodeArtist

Description

@TheCodeArtist

If cd is executed with a relative path, then the relative path is printed.
For example cd .. prints ".." as the pwd.

ext-shell$ cd testdir1
Now in directory testdir1
ext-shell$ ls
drwxrwxr-x      14      testdir2
-rw-rw-r--      17      testa.txt
ext-shell$ cd ..
Now in directory ..
ext-shell$ ls
drwxrwxr-x      11      testdir1
-rw-rw-r--      12      test1.txt
-rw-rw-r--      13      test2.txt
ext-shell$

Update the command to print the full path (without any relative . or .. etc)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions