Skip to content

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

Copy link
Contributor

@azaleacolburn azaleacolburn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@lengyijun lengyijun force-pushed the 1037 branch 2 times, most recently from 244ff29 to 7f63efe Compare August 10, 2025 12:38
@iloveitaly
Copy link

@lengyijun is there anything else we need to get this merged? Would love this functionality.

@lengyijun
Copy link
Author

@ajeetdsouza Would you please take a review ?

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
3 participants