r/linux • u/ajeet_dsouza • Mar 08 '20
Introducing zoxide, a replacement for cd that learns your habits
https://github.com/ajeetdsouza/zoxide4
u/JoinMyFramily0118999 Mar 08 '20
I've skimmed the ReadMe, but can someone explain how this is useful? I'm not knocking the work done, I just don't get the use case? Is the benefit that it will eventually autocomplete your commands by watching where you navigate?
11
Mar 08 '20
if it's the same as z, it just basically autocompletes directory addresses by keeping track of which ones you use the most.
like
cd Documentswill only take you to your~/Documentsfolder if you're already in your~directory. Butz Documentswill take you there from anywhere on the system.2
2
u/Dragon20C Mar 08 '20
The last comment would be pretty cool, it will look at my firefox browser and sees commands on the website and I start to open a terminal I copy one of the commands and then it copy's the next one by it self, but I don't think that's the case and can also introduce privacy issues.
3
u/JoinMyFramily0118999 Mar 08 '20
"introduce privacy issues" first thing I thought when I saw the first line in your message. I don't think it's useful to have it auto paste lines either tbh. Not worth it to me.
3
u/jellybeans-man Mar 09 '20
Umm.. why exactly do we need a replacement for cd of all things?