diff options
author | Koichi Murase <myoga.murase@gmail.com> | 2024-01-02 21:35:24 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-02 12:35:24 +0000 |
commit | 434e8238d8604dd1efcf601867b73ef17d912490 (patch) | |
tree | 6e34676fccf8b152b7a97216ffa39e8e754d03e6 /docs | |
parent | 16309ca198e6b821aefee98e90587fabaf192796 (diff) |
feat(bash): provide auto-complete source for ble.sh (#1487)
* feat(bash): provide auto-complete source for ble.sh
* docs(integration): mention the auto-complete source for ble.sh
Diffstat (limited to 'docs')
-rw-r--r-- | docs/docs/integrations.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/docs/integrations.md b/docs/docs/integrations.md index 85786357a..27983addb 100644 --- a/docs/docs/integrations.md +++ b/docs/docs/integrations.md @@ -5,3 +5,18 @@ Atuin automatically adds itself as an [autosuggest strategy](https://github.com/zsh-users/zsh-autosuggestions#suggestion-strategy). If you'd like to override this, add your own config after "$(atuin init zsh)" in your zshrc. + +## ble.sh auto-complete (Bash) + +If ble.sh is available when Atuin's integration is loaded in Bash, Atuin automatically defines and registers an auto-complete source for the autosuggestion feature of ble.sh. + +If you'd like to change the behavior, please overwrite the shell function `ble/complete/auto-complete/source:atuin-history` after `eval "$(atuin init bash)"` in your `.bashrc`. + +If you would not like Atuin's auto-complete source, please add the following setting after `eval "$(atuin init bash)"` in your `.bashrc`: + +```shell +# bashrc (after eval "$(atuin init bash)") + +ble/util/import/eval-after-load core-complete ' + ble/array#remove _ble_complete_auto_source atuin-history' +``` |