-
Notifications
You must be signed in to change notification settings - Fork 524
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
Zoxide unable to jump to directories when exporting zoxide from distrobox container #592
Comments
I've not used distrobox, but I don't think zoxide can be containerized in that way. zoxide verifies that directories still exist before trying to cd into it. In this case, the filesystem that zoxide has access to during verification (the arch container) is different from the filesystem that you're trying to cd around on (your local filesystem). |
I can understand why it wouldn't work for folders in the root filesystem, but for folders in the home directory that shouldn't be the case since distrobox exposes your host's home folder to the container. I decided to check the absolute path of a random folder in the home directory of the host and the same folder on the container and they appear to have the same absolute path when I use the Edit: Here's some more unexpected behaviour. I tried the following on the host: |
Just clarifying that I understood correctly:
Is this correct? |
Yep, that's right. |
Issue
I am currently using Fedora Silverblue and have installed zoxide in distrobox archlinux container. The binary is also exported to host os (Silverblue) so that I can access it from outside the container. However, whenever, I try to jump to any directory (home or on root fs), I get the following error: ' does not existy '/var/home/shaun/Downloads. From within container, zoxide works just fine. I also tested it out inside a Fedora Workstation VM and the issue persists, so this seems to be an issue between distrobox and zoxide.
Steps to Reproduce
Additional Info
I have used zoxide installed on the host os previously on Fedora workstation (not silverblue).
I am using the fish shell, but I've tested it out using zsh and the problem persists.
This is the file created when using distrobox-export
The text was updated successfully, but these errors were encountered: