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. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
use sub command. cp asset.jpg (zoxide query i project)For fish shell |
Beta Was this translation helpful? Give feedback.
-
|
If you use zsh, put the following in This would allow you to e.g. run |
Beta Was this translation helpful? Give feedback.
-
|
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. |
Beta Was this translation helpful? Give feedback.
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.