From c58087108f8092b58ad099a9d9b091c04386fe70 Mon Sep 17 00:00:00 2001 From: angrycandy Date: Sun, 14 May 2023 07:43:41 -0400 Subject: [PATCH] Update Installation.md to fix zsh missing `complete` command https://github.com/eddiezane/lunchy/issues/57#issuecomment-448588918 --- docs/Installation.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/Installation.md b/docs/Installation.md index d7bf2e91..614c132e 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -172,8 +172,12 @@ git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.11.0 echo -e '\n. $HOME/.asdf/asdf.sh' >> ~/.bashrc echo -e '\n. $HOME/.asdf/completions/asdf.bash' >> ~/.bashrc # optional source ~/.bashrc -# for zsh based systems run the following + +# For zsh based systems run the following echo -e '\n. $HOME/.asdf/asdf.sh' >> ~/.zshrc +# Add complete command used by asdf.bash +echo -e 'autoload -U +X bashcompinit && bashcompinit' >> ~/.zshrc +echo -e 'autoload -U +X compinit && compinit' >> ~/.zshrc echo -e '\n. $HOME/.asdf/completions/asdf.bash' >> ~/.zshrc source ~/.zshrc