mirror of
https://github.com/skywind3000/z.lua
synced 2026-03-14 03:39:49 +00:00
update doc
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
# z.lua
|
||||
|
||||
z - jump around (lua implementation for running on both unix & windows)
|
||||
z - jump around (lua implementation for running on both unix & windows).
|
||||
|
||||
An alternative to [z.sh](https://github.com/rupa/z) with windows and posix shells support and performance improving.
|
||||
|
||||
|
||||
## Features
|
||||
@@ -9,6 +11,7 @@ z - jump around (lua implementation for running on both unix & windows)
|
||||
- **3x** times faster than **z.sh**
|
||||
- supports **posix shells**: bash, zsh, dash, sh, busybox, and etc.
|
||||
- supports Windows cmd (with clink) and cmder
|
||||
- self contained, no dependence on awk
|
||||
|
||||
## USE
|
||||
|
||||
@@ -42,6 +45,8 @@ z -e foo # echo the best match, don't cd
|
||||
|
||||
eval "$(lua /path/to/z.lua --init posix)"
|
||||
|
||||
(sh, dash and busybox have been tested)
|
||||
|
||||
- Windows (with clink):
|
||||
|
||||
- copy z.lua and z.cmd to clink's home directory
|
||||
|
||||
Reference in New Issue
Block a user