_ZO_FZF_OPTS not fully applied to Zoxide FZF calls within Yazi #3220
Replies: 2 comments 2 replies
-
|
did you solve that? |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
Hi, Yazi supports a dedicated If you want Yazi's Zoxide to use the same options as your system's Zoxide, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What system are you running Yazi on?
macOS
What terminal are you running Yazi in?
iterm2 v3.6.2
yazi --debugoutput$ yazi --debug [7:51:26] Yazi Version: 25.5.31 (Homebrew 2025-05-30) Debug : false Triple : aarch64-apple-darwin (macos-aarch64) Rustc : 1.87.0 (17067e9a 2025-05-09) Ya Version: 25.5.31 (Homebrew 2025-05-30) Emulator TERM : Some("xterm-256color") TERM_PROGRAM : Some("iTerm.app") TERM_PROGRAM_VERSION: Some("3.6.2") Brand.from_env : Some(Iterm2) Emulator.detect : Emulator { kind: Left(Iterm2), light: false, csi_16t: (0, 0), force_16t: false } Adapter Adapter.matches : Iip Dimension.available: Dimension { rows: 40, columns: 120, width: 1080, height: 720 } 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("/bin/zsh") EDITOR : Some("nvim") VISUAL : Some("nvim") YAZI_FILE_ONE : None YAZI_CONFIG_HOME: None YAZI_ZOXIDE_OPTS: None FZF_DEFAULT_OPTS: Some("\n --border-label=fzf\n --color=label:#ff0000\n --height=100%\n --border=sharp\n ") Text Opener default : Some(OpenerRule { run: "${EDITOR:-nvim} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for: None, spread: true }) block-create: Some(OpenerRule { run: "${EDITOR:-nvim} \"$@\"", block: true, orphan: false, desc: "$EDITOR", for: None, spread: true }) block-rename: Some(OpenerRule { run: "${EDITOR:-nvim} \"$@\"", 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: 8.0 / 8.0 pdftoppm : 25.09.1 magick : No such file or directory (os error 2) fzf : 0.65.2 fd/fdfind : 10.3.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 : 25.01 / 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/plainDescribe the question
Settings from .zshrc do not apply to zoxide running inside yazi.
fzf
export FZF_DEFAULT_OPTS="
--border-label=fzf
--color=label:#ff0000
--height=100%
--border=sharp
"
zoxide
export _ZO_FZF_OPTS="
--border-label=zoxide
--color=label:#ff0000
--height=100%
--layout=default
--border=sharp
"
I'm using the above settings in .zshrc.
The fzf settings apply correctly.
For zoxide, only the label-related settings apply; other settings do not. When I run zoxide in the terminal, it applies normally. I want to change the settings for fzf and zoxide to have the same user experience.
How should I resolve this?
Anything else?
No response
Checklist
Beta Was this translation helpful? Give feedback.
All reactions