PS. I’m running fish shell, so I also added a couple of abbreviations (I use abbreviations when I don’t want to type out the original command but I also don’t want to forget it):
abbr --add --global compress 'ouch compress'
abbr --add --global decompress 'ouch decompress'
Also note that Yazi has a function to let you switch to the folder you’re in when you exit:
https://yazi-rs.github.io/docs/quick-start
(I have regular Yazi aliased – in this case an alias makes more sense – to ff and the cd version to cc.)