Using zoxide content in copy operations #724
|
Hi, I wonder if it is somehow possible to use zoxide completion for other tasks than changing the directory. One example would be copying files to a project folder. would then complete "projectname" to the project folder in question. |
Answered by
ajeetdsouza
Nov 16, 2025
Replies: 3 comments 2 replies
|
use sub command. cp asset.jpg (zoxide query i project)For fish shell |
0 replies
|
If you use zsh, put the following in This would allow you to e.g. run |
1 reply
|
I would not recommend using zoxide like this - queries are fuzzy by definition, and there's a chance that you will end up misplacing or overwriting a file. |
1 reply
Answer selected by
ajeetdsouza
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would not recommend using zoxide like this - queries are fuzzy by definition, and there's a chance that you will end up misplacing or overwriting a file.