yazi/How To/cd to a directory on yazi exit
- via https://yazi-rs.github.io/docs/quick-start#shell-wrapper
We suggest using this
yshell wrapper that provides the ability to change the current working directory when exiting Yazi.- add this to zsh/.zshrc
Then use
yinstead ofyazito start, and press q to quit, you'll see the CWD changed. Sometimes, you don't want to change, pressQto quit.- My Notes