docs(README): clarify prerequisites for Bash (#1686)

* docs(README): clarify prerequisites for Bash

https://github.com/atuinsh/atuin/discussions/1683

* docs(README): fix grammar
This commit is contained in:
Koichi Murase 2024-02-08 23:16:19 +09:00 committed by GitHub
parent 8460210202
commit e2f080ccff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -266,7 +266,7 @@ antigen bundle atuinsh/atuin@main
### bash ### bash
Atuin works in `bash >= 3.1`, but we recommend to use Atuin with the recent versions of `bash >= 5`. Atuin works in `bash >= 3.1` when combined with either ble.sh or bash-preexec. We recommend to use Atuin with the recent versions of `bash >= 5`.
#### [ble.sh](https://github.com/akinomyoga/ble.sh) #### [ble.sh](https://github.com/akinomyoga/ble.sh)
@ -291,7 +291,7 @@ curl https://raw.githubusercontent.com/rcaloras/bash-preexec/master/bash-preexec
echo '[[ -f ~/.bash-preexec.sh ]] && source ~/.bash-preexec.sh' >> ~/.bashrc echo '[[ -f ~/.bash-preexec.sh ]] && source ~/.bash-preexec.sh' >> ~/.bashrc
``` ```
Then setup Atuin Then set up Atuin
```bash ```bash
echo 'eval "$(atuin init bash)"' >> ~/.bashrc echo 'eval "$(atuin init bash)"' >> ~/.bashrc