Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: symlinks evaluation in long mode #36

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

canta2899
Copy link

Hi!

I implemented a way to evaluate symlinks in long mode, that behaves like the original ls. When the file is a symlink, logo-ls prints the symlink path followed by a -> symbol and the path of the original file.

Here's an example of the output:

image

I also had to correct a few case sensitive file names because I'm working on OS X (which has case insensitive paths) and I kept getting weird errors that did not allow me to stage changes.


Note:
I opened another PR a few months ago (#35 which is still open and not merged). In order to avoid issues I developed this feature on another branch so that both the PRs can be evaluated independently and eventually merged with ease.

@svenlowrybjss
Copy link

Can this get approved and merged? Had to stop using logo-ls because I need to be able to see simlink destinations in ls commands!

@canta2899
Copy link
Author

@svenlowrybjss If you want, I have a fork of logo-ls on my profile you can pull from until the PR has been (let's hope so) approved. So far I fixed a few issues and implemented this additional feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants