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

Opening xplr inside symlink changes to physical path #285

Closed
MithicSpirit opened this issue Jun 26, 2021 · 2 comments · Fixed by #297 or #395
Closed

Opening xplr inside symlink changes to physical path #285

MithicSpirit opened this issue Jun 26, 2021 · 2 comments · Fixed by #297 or #395
Labels
help wanted Extra attention is needed

Comments

@MithicSpirit
Copy link

If I open xplr inside a directory that is a symlink, like /lib on most Linux systems, xplr will instead open in the corresponding physical path (/usr/lib in the previous example). Opening a subdirectory of a symlink also has the same behavior (/lib/gcc will open in /usr/lib/gcc).
The weirdest part about this is that xplr does support opening symlinks, for example by opening / in xplr then pressing l on /lib will make the path /lib instead of /usr/lib.

@sayanarijit
Copy link
Owner

sayanarijit commented Jun 26, 2021

If I open xplr inside a directory that is a symlink, like /lib on most Linux systems, xplr will instead open in the corresponding physical path (/usr/lib in the previous example). Opening a subdirectory of a symlink also has the same behavior (/lib/gcc will open in /usr/lib/gcc).

Thanks for reporting. We may be able to fix this.

The weirdest part about this is that xplr does support opening symlinks, for example by opening / in xplr then pressing l on /lib will make the path /lib instead of /usr/lib.

Yes... This was fixed in this pr. And this pr added support for following the actual path of the symlink.

sayanarijit added a commit that referenced this issue Jul 5, 2021
Fixes: #284
Closes: #286
Partially fixes: #285
@sayanarijit
Copy link
Owner

sayanarijit commented Jul 5, 2021

I was able to make xplr $PWD work. But, plain xplr still resolves the symlink.

@sayanarijit sayanarijit added the help wanted Extra attention is needed label Jul 5, 2021
sayanarijit added a commit that referenced this issue Jul 5, 2021
Fixes: #284
Closes: #286
Partially fixes: #285
@sayanarijit sayanarijit reopened this Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
2 participants