Skip to content

Add option: zoxide query -t : print last_accessed #1039

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
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lengyijun
Copy link

@lengyijun lengyijun commented Apr 11, 2025

With this pr, we can select recent dirs:

function zt
  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

Closes #1037

Closes ajeetdsouza#1037

Co-authored-by: Azalea Colburn <62953415+azaleacolburn@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

Add option: zoxide query -t : print last_accessed
2 participants