Add fish shell to key binding docs (#418)

Add the missing fish shell part into the documentation for ATUIN_NOBIND.

Binding to up is pretty problematic in fish, as if you want to navigate the pager for auto-suggestions, you tend to get a bit stuck.
This commit is contained in:
Ubiquitous Photon 2022-05-19 22:04:45 +01:00 committed by GitHub
parent b2782110ff
commit cd2a3ab7d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,3 +36,13 @@ eval "$(atuin init bash)"
# bind to ctrl-r, add any other bindings you want here too
bind -x '"\C-r": __atuin_history'
```
# fish
```
set -gx ATUIN_NOBIND "true"
atuin init fish | source
# bind to ctrl-r in normal and insert mode, add any other bindings you want here too
bind \cr _atuin_search
bind -M insert \cr _atuin_search
```