mirror of
https://github.com/skywind3000/z.lua
synced 2026-11-01 21:44:27 +00:00
improve README
This commit is contained in:
1 parent
c58d31ec1d
commit
3b55089ad8
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -88,7 +88,7 @@ z -b foo # 跳转到父目录中名称以 foo 开头的那一级
|
||||
|
||||
在 `env.nu` 中加入如下代码:
|
||||
|
||||
luajit z.lua --init nushell | save -f ~/.cache/zlua.nu
|
||||
lua /path/to/z.lua --init nushell | save -f ~/.cache/zlua.nu
|
||||
|
||||
然后在 `config.nu` 中加入如下代码:
|
||||
|
||||
|
||||
@@ -131,7 +131,7 @@ z -b foo bar # replace foo with bar in cwd and cd there
|
||||
|
||||
Put something like this in your `env.nu`:
|
||||
|
||||
luajit z.lua --init nushell | save -f ~/.cache/zlua.nu
|
||||
lua /path/to/z.lua --init nushell | save -f ~/.cache/zlua.nu
|
||||
|
||||
Then put something like this in your `config.nu`:
|
||||
|
||||
|
||||
Reference in new issue
Block a user