-
Notifications
You must be signed in to change notification settings - Fork 422
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
change directory on quit with zoxide does not work #978
Comments
If you use the shell wrapper then it simply executes the cd command through your shell when yazi exits, it looks like zoxide has changed the behavior of cd, I don't think this is a yazi bug. Closing as not Yazi and I'm not sure what Yazi can do here |
Just for reference, here's a related issue in zoxide's repo. Unfortunately it has not been addressed. Edit:
I also have not tested it very thoroughly and I am not sure about possible side-effects of doing this, please let me know. |
I'm going to lock this issue because it has been closed for 30 days. ⏳ |
What system are you running Yazi on?
Linux X11
What terminal are you running Yazi in?
terminator
Did you try the latest code to see if this problem got fixed?
Tried, but the problem still
yazi --debug
outputDescribe the bug
I have defined the function
y
for invokingyazi
so as to change directory on quit as mentioned in the docs.I have also changed the
z
command ofzoxide
tocd
viaWith the above set up,
yazi
does not change directory on quit. I getIf I have,
things work as expected.
Is there a way to make
yazi
follow the changes tozoxide
invocation?Expected Behavior
On quit,
yazi
should change to the directory it is in.To Reproduce
Just changing the
zoxide
command will reproduce the bug.Configuration
Default config. No changes.
Anything else?
No response
The text was updated successfully, but these errors were encountered: