Skip to content

Commit

Permalink
Update Installation.md to fix zsh missing complete command
Browse files Browse the repository at this point in the history
  • Loading branch information
angrycandy authored May 14, 2023
1 parent d3d6970 commit 597d925
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 597d925

Please sign in to comment.