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

zoxide does not find network folders #1992

Closed
3 tasks done
bobblkabb opened this issue Dec 5, 2024 · 2 comments
Closed
3 tasks done

zoxide does not find network folders #1992

bobblkabb opened this issue Dec 5, 2024 · 2 comments
Labels
invalid This doesn't seem right

Comments

@bobblkabb
Copy link

What system are you running Yazi on?

Linux Wayland

What terminal are you running Yazi in?

foot 1.19.0

yazi --debug output

Yazi
    Version: 0.3.3 (git20241106.6001f3c 2024-11-06)
    Debug  : false
    OS     : linux-x86_64 (unix)

Ya
    Version: No such file or directory (os error 2)

Emulator
    Emulator.via_env: ("foot", "")
    Emulator.via_csi: Ok(Foot)
    Emulator.detect : Foot

Adapter
    Adapter.matches: Sixel

Desktop
    XDG_SESSION_TYPE           : Some("wayland")
    WAYLAND_DISPLAY            : Some("wayland-1")
    DISPLAY                    : Some(":0")
    SWAYSOCK                   : None
    HYPRLAND_INSTANCE_SIGNATURE: Some("_1733377584_980511530")
    WAYFIRE_SOCKET             : None

SSH
    shared.in_ssh_connection: false

WSL
    WSL: false

Variables
    SHELL              : Some("/usr/bin/fish")
    EDITOR             : Some("helix")
    VISUAL             : None
    YAZI_FILE_ONE      : None
    YAZI_CONFIG_HOME   : None

Text Opener
    default     : Some(Opener { run: "hx \"$@\"", block: true, orphan: false, desc: "helix", for_: None, spread: true })
    block-create: Some(Opener { run: "hx \"$@\"", block: true, orphan: false, desc: "helix", for_: None, spread: true })
    block-rename: Some(Opener { run: "hx \"$@\"", block: true, orphan: false, desc: "helix", for_: None, spread: true })

Multiplexers
    TMUX               : false
    tmux version       : No such file or directory (os error 2)
    tmux build flags   : enable-sixel=Unknown
    ZELLIJ_SESSION_NAME: None
    Zellij version     : 0.41.1

Dependencies
    file             : 5.46
    ueberzugpp       : No such file or directory (os error 2)
    ffmpegthumbnailer: 2.2.2
    magick           : 7.1.1-41
    fzf              : 0.56
    fd               : 10.2.0
    fdfind           : No such file or directory (os error 2)
    rg               : 14.1.1
    chafa            : 1.14.5
    zoxide           : 0.9.6
    7z               : 24.09
    7zz              : 24.09
    jq               : 1.7.1

Describe the bug

zoxide does not work so well with mounted Windows shares. Folders are not found, although I have been on them many times with yazi.
e.g. windows share mounted as /mnt/drive/ and trying to access/mnt/drive/folder/foldersomething

However, a network folder is found if I had access in the shell before.

Minimal reproducer

Press 'z' (zoxide dialogue opens)
Type 'fold...' but 'folder' or 'foldersomething' aren't found

Anything else?

No response

Checklist

  • I tried the latest nightly build, and the issue is still reproducible
  • I updated the debug information (yazi --debug) input box to the nightly that I tried
  • I can reproduce it after disabling all custom configs/plugins (mv ~/.config/yazi ~/.config/yazi-backup)
@bobblkabb bobblkabb added the bug Something isn't working label Dec 5, 2024
@sxyazi
Copy link
Owner

sxyazi commented Dec 5, 2024

I don't think this is a Yazi bug because all Yazi does is simply call zoxide query -i to bring up the zoxide interactive UI:

local child, err = Command("zoxide")
:args({ "query", "-i", "--exclude" })
:arg(st.cwd)
:env("SHELL", "sh")
:env("CLICOLOR", "1")
:env("CLICOLOR_FORCE", "1")
:env("_ZO_FZF_OPTS", opts())
:stdin(Command.INHERIT)
:stdout(Command.PIPED)
:stderr(Command.INHERIT)
:spawn()

Please report this to zoxide for support. Closing as not Yazi and nothing can be done here

@sxyazi sxyazi closed this as not planned Won't fix, can't repro, duplicate, stale Dec 5, 2024
@sxyazi sxyazi added invalid This doesn't seem right and removed bug Something isn't working labels Dec 5, 2024
Copy link

github-actions bot commented Jan 5, 2025

I'm going to lock this issue because it has been closed for 30 days. ⏳
This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please file a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants