From 5fccd27e676ef73bb9982cb9c96dfe08024fb2ba Mon Sep 17 00:00:00 2001 From: kendocode Date: Wed, 10 Jan 2018 20:49:43 -0600 Subject: [PATCH] Add zsh compinit info to readme --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 691a8395..5b5c92c7 100644 --- a/README.md +++ b/README.md @@ -29,11 +29,21 @@ Depending on your OS and shell, run the following: * Zsh: + If you are using a framework, such as oh-my-zsh, use these lines. (Be sure that if + you make future changes to .zshrc these lines remain *below* the line where you source + your framework.) + ```bash echo -e '\n. $HOME/.asdf/asdf.sh' >> ~/.zshrc echo -e '\n. $HOME/.asdf/completions/asdf.bash' >> ~/.zshrc ``` - + If you are not using a framework, or if on starting your shell you get an error message + like 'command not found: compinit', then add this line before the ones above. + + ```bash + autoload -Uz compinit && compinit + ``` + * Fish: ```bash