-
Notifications
You must be signed in to change notification settings - Fork 658
Closed as duplicate
Labels
invalidThis doesn't seem rightThis doesn't seem right
Description
What system are you running Yazi on?
Linux Wayland
What terminal are you running Yazi in?
gnome-terminal
yazi --debug output
Yazi
Version: 25.6.11 (c27ef58 2025-08-23)
Debug : false
Triple : x86_64-unknown-linux-gnu (linux-x86_64)
Rustc : 1.89.0 (29483883 2025-08-04)
Ya
Version: 25.6.11 (98a5828a 2025-08-23)
Emulator
TERM : Some("xterm-256color")
TERM_PROGRAM : None
TERM_PROGRAM_VERSION: None
Brand.from_env : None
Emulator.detect : Emulator { kind: Right(Unknown { kgp: false, sixel: false }), light: false, csi_16t: (0, 0), force_16t: false }
Adapter
Adapter.matches : Chafa
Dimension.available: Dimension { rows: 51, columns: 212, width: 0, height: 0 }
Desktop
XDG_SESSION_TYPE : Some("wayland")
WAYLAND_DISPLAY : Some("wayland-0")
DISPLAY : Some(":0")
SWAYSOCK : None
HYPRLAND_INSTANCE_SIGNATURE: None
WAYFIRE_SOCKET : None
SSH
shared.in_ssh_connection: false
WSL
WSL: false
Variables
SHELL : Some("/bin/bash")
EDITOR : Some("my_code.sh")
VISUAL : None
YAZI_FILE_ONE : None
YAZI_CONFIG_HOME: None
YAZI_ZOXIDE_OPTS: None
FZF_DEFAULT_OPTS: None
Text Opener
default : Some(OpenerRule { run: "${EDITOR:-vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for: None, spread: true })
block-create: Some(OpenerRule { run: "${EDITOR:-vi} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for: None, spread: true })
block-rename: Some(OpenerRule { run: "${EDITOR:-vi} \"$@\"", 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.45
ueberzugpp : No such file or directory (os error 2)
ffmpeg/ffprobe: No such file or directory (os error 2) / No such file or directory (os error 2)
pdftoppm : 25.03.0
magick : No such file or directory (os error 2)
fzf : 0.61.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 : No such file or directory (os error 2)
7zz/7z : No such file or directory (os error 2) / 24.09
resvg : No such file or directory (os error 2)
jq : 1.7
Clipboard
wl-copy/paste: 2.2.1 / 2.2.1
xclip : 0.13
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
The name based rules don't work in filetype section for themes.
Minimal reproducer
Put this in your theme.toml:
[filetype]
rules = [
#{ mime = "inode/directory", fg = "red" },
{ name = "*", fg = "red" },
{ name = "*/", fg = "red" }
]
Files and directories should become red but they stay as the default color (terminal's default).
The mime line works as expected.
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)
Metadata
Metadata
Assignees
Labels
invalidThis doesn't seem rightThis doesn't seem right