mirror of
https://github.com/skywind3000/z.lua
synced 2026-08-15 08:08:53 +00:00
update doc
This commit is contained in:
@@ -27,23 +27,29 @@ z -e foo # echo the best match, don't cd
|
|||||||
- bash:
|
- bash:
|
||||||
|
|
||||||
put something like this in your `.bashrc`:
|
put something like this in your `.bashrc`:
|
||||||
|
|
||||||
eval "$(lua /path/to/z.lua --init bash)"
|
eval "$(lua /path/to/z.lua --init bash)"
|
||||||
|
|
||||||
- zsh:
|
- zsh:
|
||||||
|
|
||||||
put something like this in your `.zshrc`:
|
put something like this in your `.zshrc`:
|
||||||
|
|
||||||
eval "$(lua /path/to/z.lua --init zsh)"
|
eval "$(lua /path/to/z.lua --init zsh)"
|
||||||
|
|
||||||
- posix shells:
|
- posix shells:
|
||||||
|
-
|
||||||
put something like this in your `.profile`:
|
put something like this in your `.profile`:
|
||||||
|
|
||||||
eval "$(lua /path/to/z.lua --init posix)"
|
eval "$(lua /path/to/z.lua --init posix)"
|
||||||
|
|
||||||
- Windows (with clink):
|
- Windows (with clink):
|
||||||
|
|
||||||
copy z.lua and z.cmd to clink's home directory
|
copy z.lua and z.cmd to clink's home directory
|
||||||
Add clink's home to `%PATH%` (z.cmd can be called anywhere)
|
Add clink's home to `%PATH%` (z.cmd can be called anywhere)
|
||||||
Ensure that "lua" can be called in `%PATH%`
|
Ensure that "lua" can be called in `%PATH%`
|
||||||
|
|
||||||
- Windows Cmder Install:
|
- Windows Cmder Install:
|
||||||
|
-
|
||||||
copy z.lua and z.cmd to cmder/vendor
|
copy z.lua and z.cmd to cmder/vendor
|
||||||
Add cmder/vendor to %PATH%
|
Add cmder/vendor to %PATH%
|
||||||
Ensure that "lua" can be called in %PATH%
|
Ensure that "lua" can be called in %PATH%
|
||||||
|
|||||||
Reference in New Issue
Block a user