Search the history of the directory you accessed in the past and jump to it using peco.
The following tools and plug-ins are required as prerequisites.
fisher install karibash/fish-z-peco
Please bind peco_select_z_history
to your favorite key.
If you'd like to bind Ctrl+z:
function fish_user_key_bindings
bind \cz peco_select_z_history
end