Skip to content

Commit 1b9630e

Browse files
author
skywind3000
committed
Merge branch 'master' of https://github.com/skywind3000/z.lua
2 parents c98d2d7 + 057e4f7 commit 1b9630e

File tree

1 file changed

+19
-10
lines changed

1 file changed

+19
-10
lines changed

README.md

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,26 @@ z.lua is a faster way to navigate your filesystem. It tracks your most used dire
1313

1414
For example, `z foo bar` would match `/foo/bar` but not `/bar/foo`.
1515

16+
## Reputation
17+
18+
From people using z.lua:
19+
20+
- I like this in principal. I’m pretty damn predictable at the command line and far too lazy to make shortcuts
21+
- It feels far more intuitive and it's so incredibly convenient to be able to jump between folders I'm working in without having to traverse an entire tree. The shell used to feel so constraining for me, but tools like this are making me enjoy it so much more.
22+
- I can finally have autojump-like functionality on my Raspberry Pi 1 without waiting 30 seconds every time I open a new shell. Thanks z.lua devs.
23+
- Anyway, z.lua is a promising project. If you only need directory jumping, it may be the best choice.
24+
1625

1726
## Features
1827

1928
- **10x** times faster than **fasd** and **autojump**, **3x** times faster than **z.sh**.
20-
- Capable to gain the ultimate speed with a [native module](https://github.com/skywind3000/czmod) written in C.
29+
- Gain the ultimate speed with an optional [native module](https://github.com/skywind3000/czmod) written in C.
2130
- Available for **posix shells**: bash, zsh, dash, sh, ash, ksh, busybox and etc.
2231
- Available for Fish Shell, Power Shell and Windows cmd.
2332
- [Enhanced matching algorithm](#enhanced-matching) takes you to where ever you want precisely.
2433
- Allow updating database only if `$PWD` changed with "$_ZL_ADD_ONCE" set to 1.
2534
- Interactive selection enables you to choose where to go before cd.
26-
- Intergrated with FZF (optional) for interactive selection and completion.
35+
- Integrated with FZF (optional) for interactive selection and completion.
2736
- Quickly go back to a parent directory instead of typing "cd ../../..".
2837
- Corresponding experience in different shells and operating systems.
2938
- Compatible with Lua 5.1, 5.2 and 5.3+
@@ -451,19 +460,19 @@ As you see, z.lua is the fastest one and requires less resource.
451460

452461
## Native Module
453462

454-
Since z.lua is a standalone script, but it can also work with a native module written in C:
463+
z.lua is fast enough for most case, the path tracking action will be triggered each time when you change your current directory.
455464

456-
- [czmod](https://github.com/skywind3000/czmod): native module to boost `z.lua`.
465+
So I still recommend the pure lua script for portability and flexibility, but for someone who really care about `10ms` or `1ms` things, this module can help them to gain the ultimate speed.
457466

458-
z.lua can be **4-5** times faster than zoxide after enabling czmod.
467+
- [czmod](https://github.com/skywind3000/czmod): native module to boost `z.lua`.
459468

469+
Average performance:
460470

461-
## Reputation
471+
| Name | czmod | z.lua |
472+
|-|-|-|-|-|
473+
| **Update Time** | 1.6ms | 13.2ms |
474+
| **Query Time** | 1.5ms | 9.8ms |
462475

463-
- "I like this in principal. I’m pretty damn predictable at the command line and far too lazy to make shortcuts"
464-
- "It feels far more intuitive and it's so incredibly convenient to be able to jump between folders I'm working in without having to traverse an entire tree. The shell used to feel so constraining for me, but tools like this are making me enjoy it so much more. "
465-
- "I can finally have autojump-like functionality on my Raspberry Pi 1 without waiting 30 seconds every time I open a new shell. Thanks z.lua devs."
466-
- "Anyway, z.lua is a promising project. If you only need directory jumping, it may be the best choice."
467476

468477

469478
## History

0 commit comments

Comments
 (0)