- 
                Notifications
    
You must be signed in to change notification settings  - Fork 637
 
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What system are you running Yazi on?
macOS
What terminal are you running Yazi in?
ghostty v1.2.2
yazi --debug output
Yazi
    Version: 25.9.15 (46569a1f 2025-10-18)
    Debug  : false
    Triple : aarch64-apple-darwin (macos-aarch64)
    Rustc  : 1.90.0 (1159e78c 2025-09-14)
Ya
    Version: 25.9.15 (46569a1f 2025-10-18)
Emulator
    TERM                : Some("xterm-ghostty")
    TERM_PROGRAM        : Some("ghostty")
    TERM_PROGRAM_VERSION: Some("1.2.2")
    Brand.from_env      : Some(Ghostty)
    Emulator.detect     : Emulator { kind: Left(Ghostty), light: false, csi_16t: (22, 48), force_16t: false }
Adapter
    Adapter.matches    : Kgp
    Dimension.available: Dimension { rows: 37, columns: 134, width: 2968, height: 1780 }
Desktop
    XDG_SESSION_TYPE           : None
    WAYLAND_DISPLAY            : None
    DISPLAY                    : None
    SWAYSOCK                   : None
    HYPRLAND_INSTANCE_SIGNATURE: None
    WAYFIRE_SOCKET             : None
SSH
    shared.in_ssh_connection: false
WSL
    WSL: false
Variables
    SHELL              : Some("/usr/local/bin/fish")
    EDITOR             : Some("nvim")
    VISUAL             : None
    YAZI_FILE_ONE      : None
    YAZI_CONFIG_HOME   : None
    YAZI_ZOXIDE_OPTS   : None
    FZF_DEFAULT_OPTS   : None
    FZF_DEFAULT_COMMAND: None
Text Opener
    default     : Some(OpenerRule { run: "${EDITOR:-vi} %s", block: true, orphan: false, desc: "$EDITOR", for: None, spread: true })
    block-create: Some(OpenerRule { run: "${EDITOR:-vi} %s", block: true, orphan: false, desc: "$EDITOR", for: None, spread: true })
    block-rename: Some(OpenerRule { run: "${EDITOR:-vi} %s", block: true, orphan: false, desc: "$EDITOR", 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     : No such file or directory (os error 2)
Dependencies
    file          : 5.41
    ueberzugpp    : No such file or directory (os error 2)
    ffmpeg/ffprobe: 7.1.1 / 7.1.1
    pdftoppm      : 25.06.0
    magick        : 7.1.1-47
    fzf           : 0.62.0
    fd/fdfind     : 10.2.0 / No such file or directory (os error 2)
    rg            : 14.1.1
    chafa         : No such file or directory (os error 2)
    zoxide        : 0.9.8
    7zz/7z        : 24.09 / No such file or directory (os error 2)
    resvg         : 0.45.1
    jq            : 1.7.1
Clipboard
    wl-copy/paste: No such file or directory (os error 2) / No such file or directory (os error 2)
    xclip        : No such file or directory (os error 2)
    xsel         : No such file or directory (os error 2)
Routine
    `file -bL --mime-type`: text/plain
See https://yazi-rs.github.io/docs/plugins/overview#debugging on how to enable logging or debug runtime errors.Describe the bug
When adding plugin by running
ya pkg add yazi-rs/plugins:git
It reports:
  Upgrading package `git.yazi`
fatal: not a git repository (or any of the parent directories): .git
`git` command failed: exit status: 128
btw I tried mv ~/.config/yazi ~/.config/yazi-backup, it only changes the last line into:
Failed to write package.toml: No such file or directory (os error 2)
Minimal reproducer
- build latest nightly version from source
 - run 
ya pkg add yazi-rs/plugins:git 
Anything else?
I tried install ya pkg add Rolv-Apneseth/starship and it worked. Highly suspect that the parsing of subdirectory is broken
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) 
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working