Windows: if cwd is a symlink, lsd only shows "." in output
- Dominant language
- Rust
- Stars
- 16.2k
- Forks
- 510
- PR merge metrics
- No merged PRs in 30d
Description
If the current Windows working directory is a symlink, lsd only shows "." as output instead of listing the target directory. Works as expected on Linux.
```
C:\ $ lsd -l
.....
lrwx------ REEF\vladimir REEF\None 0 B Fri Dec 14 14:35:27 2018 proj ⇒ d:\proj
.....
C:\ $ cd proj
C:\proj $ lsd
.
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue on Windows with a symlinked current directory and compare `lsd -l` with `lsd` from the example. Trace the current-directory and symlink handling until the target directory listing is identified; done means `lsd` lists the target contents instead of only `.`.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100