Open LoveCatc opened 1 month ago
I have the same issue with you.
I reduce my config file step by step, and find the problem in line
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'eza -1 --color=always $realpath'
the command eza doesn't exsit on my computer.
After I run sudo apt install eza
, the problem fixed.
Hi NightWatcher314, thank you for the sincere help! Unfortunately, this does not solve my problem. But you provide a very nice point, and I should look through the config more carefully. Anyway thank you again!
I have the same problem. It's related to the FZF_DEFAULT_OPTS
variable, specifically the "--preview" argument.
I know that's a fzf thing, but the issue only happens when I use fzf through this plugin. If I simply run fzf, the preview window works fine.
Also, if I use the fzf plugin (for example, writing nano **
and pressing Tab
) it also works fine.
Describe the bug
The preview window shows "fork/exec /usr/bin/zsh: invalid argument" and it even happens when opening logs (
C-x .
).I can make sure:
compinit
To Reproduce
Steps to reproduce the behavior:
ls
Expected behavior
The preview window should give correct information instead of an error.
Screenshots
Environment:
Minimal zshrc
.zshrc
fzf.zsh
Log
If applicable, use
C-x .
to trigger completion and provide the log.If there are only three lines in your log, please make sure your fzf-tab is loaded with the correct order (see the checklist above).
no logs are shown.