-
Notifications
You must be signed in to change notification settings - Fork 708
Description
MacOS 14.3.1 arm64 (Apple Silicon)
Shell = zsh (MacOS builtin version 5.9)
I installed zoxide with cargo install zoxide using the latest stable rustc from rustup.
I installed fzf with brew install fzf.
tail -n2 ~/.zshrc => eval "$(zoxide init zsh)"
Terminal emulator = warp (thanks for the recommendation!)
pwd
/Users/sean
zoxide add /Users/sean/dev ### Isn't this supposed to recursively add everything in ~/dev?
cd dev/cosmos
pwd
/Users/sean/dev/cosmos
z
z cosmos ### THIS WORKS! Ok cool!
z
ls dev/langchain ### To prove it exists
CITATION.cff MIGRATE.md README.md cookbook docs poetry.lock pyproject.toml
LICENSE Makefile SECURITY.md docker libs poetry.toml templates
z langchain
zoxide: no match found ### WHY??? Do I have to explicitly `cd` there first before it will work? That's silly.
z dev langchain
zoxide: no match found ### It *still* doesn't work?
cd dev/langchain ### Works.
I'm not sure if this is intended behavior, but if I have to explicitly go somewhere first before z will work, rather than having it automatically search or find my directories (especially at a location where I've done a zoxide add previously), that seems to defeat most of the purpose of the tool.
Justification: I have only a few top level directories in my home directory I frequently use (~/dev, ~/Downloads, ~/Documents, etc.) but I'm constantly creating and deleting subdirectories, sub-sub-directories, etc. in those. If I can't just z langchain without first explicitly telling the tool that that directory exists, it's going to be very frustrating to use, vs. having the tool just search and find that that directory exists and cding there. At that point, I may as well use cd.