From 871020b7c2c4ef3ba6544cd6f1e1b3637e63fd41 Mon Sep 17 00:00:00 2001 From: skywind3000 Date: Wed, 30 Jan 2019 12:15:31 +0800 Subject: [PATCH] update documentation about zsh plugin manager support --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cbdc4c3..02b639b 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,8 @@ z -i foo # cd with interactive selection eval "$(lua /path/to/z.lua --init zsh)" + It can also be initialized from "skywind3000/z.lua" with your zsh plugin managers (antigen / oh-my-zsh). + - posix shells: put something like this in your `.profile`: @@ -67,7 +69,11 @@ z -i foo # cd with interactive selection lua /path/to/z.lua --init fish | source - Fish version `2.4.0` or above is required. + Fish version `2.4.0` or above is required. + + lua /path/to/z.lua --init fish > ~/.config/fish/conf.d/z.fish + + This is another way to initiaze z.lua in fish shell, but remember to regenerate z.fish if z.lua has been updated or moved. - Windows (with clink):