aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorPatrick Jackson <patrick@jackson.dev>2023-11-10 16:58:05 -0700
committerGitHub <noreply@github.com>2023-11-10 23:58:05 +0000
commit31653ed99699425ba720f3a8c827c70d61313066 (patch)
tree771ff8f257e8296d78e921a6dccd25a275a999b9 /docs
parentfix(fish): use fish builtins for `enter_accept` (#1373) (diff)
downloadatuin-31653ed99699425ba720f3a8c827c70d61313066.zip
Bash `enter_accept` best effort fixes (#1384)
* fix(bash): Rewrite the enter_accept integration * docs(bash): Update bash installation instructions with warnings
Diffstat (limited to 'docs')
-rw-r--r--docs/docs/advanced-install.md18
1 files changed, 16 insertions, 2 deletions
diff --git a/docs/docs/advanced-install.md b/docs/docs/advanced-install.md
index cf9bbadd..862bb924 100644
--- a/docs/docs/advanced-install.md
+++ b/docs/docs/advanced-install.md
@@ -112,16 +112,30 @@ antigen bundle atuinsh/atuin@main
### bash
-We need to setup some hooks, so first install bash-preexec:
+#### [ble.sh](https://github.com/akinomyoga/ble.sh)
+Atuin works best in bash when using [ble.sh](https://github.com/akinomyoga/ble.sh).
+
+With ble.sh installed, just add atuin to your .bashrc
+
+```bash
+echo 'eval "$(atuin init bash)"' >> ~/.bashrc
```
+
+#### [bash-preexec](https://github.com/rcaloras/bash-preexec)
+
+[Bash-preexec](https://github.com/rcaloras/bash-preexec) can also be used, but you may experience some minor problems with the recorded duration and exit status of some commands.
+
+To use bash-preexec, download and initialize it
+
+```bash
curl https://raw.githubusercontent.com/rcaloras/bash-preexec/master/bash-preexec.sh -o ~/.bash-preexec.sh
echo '[[ -f ~/.bash-preexec.sh ]] && source ~/.bash-preexec.sh' >> ~/.bashrc
```
Then setup Atuin
-```
+```bash
echo 'eval "$(atuin init bash)"' >> ~/.bashrc
```