Skip to content

go to Most Recently Accessed Path #942

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

Open
GladioFeng opened this issue Nov 29, 2024 · 1 comment
Open

go to Most Recently Accessed Path #942

GladioFeng opened this issue Nov 29, 2024 · 1 comment

Comments

@GladioFeng
Copy link

goto Most Recently Accessed Path are useful for terminal user
is it possible to provide this function in zoxide
Thanks for your attention 😄

Here is a reference zlua, it provide this function.

@lengyijun
Copy link

lengyijun commented Apr 11, 2025

based on #1037

function zz
  set -l dest (zoxide query -l -t --exclude (pwd) | sort -k 1 -n -r | awk '{print $2}' | fzf )
  if test -z "$dest"
    # echo "The string is empty"
  else
    cd "$dest"
  end
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants