-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Bug Report: File name too long
Error in Yazi Home Manager
#6724
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
Comments
enableFishIntegration = true;
Causes File name too long
Error in Yazi Home ManagerFile name too long
Error in Yazi Home Manager
Thanks for a well defined bug report, I don't use fish atm. But, if no one gets to it and I find time. I can try looking into it. |
Maybe yazi shell wrapper is implement wrong in home manager function y
set tmp (mktemp -t "yazi-cwd.XXXXXX")
yazi $argv --cwd-file="$tmp"
if set cwd (command cat -- "$tmp"); and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ]
builtin cd -- "$cwd"
end
rm -f -- "$tmp"
end |
Closed
yazi shell wrapper should be |
fixed in #6817 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
When enabling Fish shell integration for Yazi in Home Manager with the following configuration:
the following error occurs:
Steps to Reproduce
shellWrapperName = "y";
.y
to use yazi.Expected Behavior
cd
command should function correctly without errors.Actual Behavior
cd
fails with aFile name too long
error.System Information
Additional Notes
enableFishIntegration = false;
.Possible Workarounds
shellWrapperName
.Suggestions for Fix
yazi-cwd.XXX
is being generated correctly.Any insights or fixes would be appreciated!
The text was updated successfully, but these errors were encountered: