From a613e8d3c7a5e64d2a6fc30e30c19f930a74ca23 Mon Sep 17 00:00:00 2001 From: skywind3000 Date: Wed, 21 Nov 2018 17:53:22 +0800 Subject: [PATCH] update doc --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b00e7e1..aac19ee 100644 --- a/README.md +++ b/README.md @@ -27,23 +27,29 @@ z -e foo # echo the best match, don't cd - bash: put something like this in your `.bashrc`: + eval "$(lua /path/to/z.lua --init bash)" - zsh: put something like this in your `.zshrc`: + eval "$(lua /path/to/z.lua --init zsh)" - posix shells: +- put something like this in your `.profile`: + eval "$(lua /path/to/z.lua --init posix)" - Windows (with clink): + copy z.lua and z.cmd to clink's home directory Add clink's home to `%PATH%` (z.cmd can be called anywhere) Ensure that "lua" can be called in `%PATH%` -- Windows Cmder Install: +- Windows Cmder Install: +- copy z.lua and z.cmd to cmder/vendor Add cmder/vendor to %PATH% Ensure that "lua" can be called in %PATH%