diff options
| author | Koichi Murase <myoga.murase@gmail.com> | 2024-05-31 03:32:26 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-30 19:32:26 +0100 |
| commit | f6918d9d1391d32e1b6ddcc104c659d5573ee6e1 (patch) | |
| tree | e9945f05f0a9c6621555a10dee7913ead594d7c0 | |
| parent | fix(stats): generation for commands starting with a pipe (#2058) (diff) | |
| download | atuin-f6918d9d1391d32e1b6ddcc104c659d5573ee6e1.zip | |
fix(bash): fix a workaround for bash-5.2 keybindings (#2060)
| -rw-r--r-- | crates/atuin/src/shell/atuin.bash | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crates/atuin/src/shell/atuin.bash b/crates/atuin/src/shell/atuin.bash index 8eda0a6f..34d9a221 100644 --- a/crates/atuin/src/shell/atuin.bash +++ b/crates/atuin/src/shell/atuin.bash @@ -329,12 +329,12 @@ if [[ $__atuin_bind_up_arrow == true ]]; then bind -m emacs '"\e[A": "\C-x\C-p"' bind -m emacs '"\eOA": "\C-x\C-p"' bind -m vi-insert -x '"\C-x\C-p": __atuin_history --shell-up-key-binding --keymap-mode=vim-insert' - bind -m vi-insert -x '"\e[A": "\C-x\C-p"' - bind -m vi-insert -x '"\eOA": "\C-x\C-p"' + bind -m vi-insert '"\e[A": "\C-x\C-p"' + bind -m vi-insert '"\eOA": "\C-x\C-p"' bind -m vi-command -x '"\C-x\C-p": __atuin_history --shell-up-key-binding --keymap-mode=vim-normal' - bind -m vi-command -x '"\e[A": "\C-x\C-p"' - bind -m vi-command -x '"\eOA": "\C-x\C-p"' - bind -m vi-command -x '"k": "\C-x\C-p"' + bind -m vi-command '"\e[A": "\C-x\C-p"' + bind -m vi-command '"\eOA": "\C-x\C-p"' + bind -m vi-command '"k": "\C-x\C-p"' fi fi |
