Differences between zoxide and z/z.lua? #149
-
Hi, you said zoxide is inspired by z and z.lua. I've using z.lua for about 2 years, just found zoxide, since I'm very interested in Rust, so if possible I want to replace z.lua with zoxide. But before I start using zoxide, could you please tell me what are the differences between zoxide and z/z.lua, performance, feature, config, option, anything? Irrespective of rust language factor, what are the reasons for users of z/z.lua to use zoxide instead? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hey @c02y, Regarding performance, zoxide (in my experiments) has generally been orders of magnitude faster than z.lua and other autojumpers. I try to keep zoxide as light as possible - heavy shell plugins tend to add up and slow down the shell startup and prompt. Regarding features, z.lua does support a few features that are not in zoxide, simply because I haven't seen the need for it yet. For example, in z.lua, you can use Regarding configurability, I think you'll find that both zoxide and z.lua are quite configurable. zoxide's CLI tends to be quite user-friendly, though - the As a maintainer, I'm obviously biased towards zoxide, but I hope I was able to answer your question satisfactorily! |
Beta Was this translation helpful? Give feedback.
-
I know this has been answered, but I just stumbled on it myself. The biggest difference is that the alternatives consider your current folder as context, while If you frequently need to jump between very different folders that don't share much of a common root path, There's a very strong argument for using both |
Beta Was this translation helpful? Give feedback.
Hey @c02y,
Regarding performance, zoxide (in my experiments) has generally been orders of magnitude faster than z.lua and other autojumpers. I try to keep zoxide as light as possible - heavy shell plugins tend to add up and slow down the shell startup and prompt.
Regarding features, z.lua does support a few features that are not in zoxide, simply because I haven't seen the need for it yet. For example, in z.lua, you can use
z -n
(wheren
is an integer) to go to the nth most "frecent" directory. I don't see the use for something that - I would personally just callzi
and use the arrow keys to go to the desired directory. That said, if there's a feature you're missing from any other autojum…