Add "echo" command to INSTALL.md

This commit is contained in:
KaitoMuraoka 2025-03-31 10:48:43 +09:00
parent 0e810e5afa
commit a6aaea7d0a

View File

@ -56,10 +56,10 @@
brew install zsh-autosuggestions
```
2. To activate the autosuggestions, add the following at the end of your .zshrc:
2. To activate the autosuggestions, add the following at the end of your .zshrc. Running this command on the terminal will add the source line to the end of your .zshrc:
```sh
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
echo "source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
```
3. Start a new terminal session.
@ -72,10 +72,10 @@
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
```
2. Add the following to your `.zshrc`:
2. Add the following to your `.zshrc`. Running this command on the terminal will add the source line to the end of your `.zshrc`:
```sh
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
echo "source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
```
3. Start a new terminal session.