Fix .bashrc echo
install syntax error (#1965)
Change `done` to `fi` since otherwise Bash emits an unexpected token error: ``` bash: /home/foo/.bashrc: line 120: syntax error near unexpected token `done' bash: /home/foo/.bashrc: line 120: `if command -v pyenv >/dev/null; then eval "$(pyenv init -)"; done' ```
This commit is contained in:
parent
83056fc404
commit
6633382417
@ -314,7 +314,7 @@ easy to fork and contribute any changes back upstream.
|
||||
- **If your `/etc/profile` sources `~/.bashrc` (SUSE):**
|
||||
|
||||
~~~bash
|
||||
echo 'if command -v pyenv >/dev/null; then eval "$(pyenv init -)"; done' >> ~/.bashrc
|
||||
echo 'if command -v pyenv >/dev/null; then eval "$(pyenv init -)"; fi' >> ~/.bashrc
|
||||
~~~
|
||||
|
||||
- For **Zsh**:
|
||||
|
Loading…
x
Reference in New Issue
Block a user