mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-23 04:22:06 +00:00
f8624ed308
It's confusing, and `ls` doesn't do this either. We're not prepending the current path to all of the directory entries, and the user is going to interpret the symlink target as relative to the directory containing the symlink.
485 B
485 B
/testcases/links
├── broken -> nowhere
│ └── <No such file or directory (os error 2)>
├── forbidden -> /proc/1/root
│ └── <Permission denied (os error 13)>
├── root -> /
└── usr -> /usr
├── broken -> nowhere
│ └── <No such file or directory (os error 2)>
├── forbidden -> /proc/1/root
│ └── <Permission denied (os error 13)>
├── root -> /
└── usr -> /usr