diff options
author | Daniel Carosone <daniel.carosone@gmail.com> | 2023-09-30 02:06:24 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-29 16:06:24 +0000 |
commit | a195c389b6aa4002637a6c5185e27353a1f3d8dc (patch) | |
tree | 7b36dda27bd53cdb4ce0cf52169790c2fa2c8b51 | |
parent | 504400673f7cd3c958bfe110aa788aa935059975 (diff) |
handle empty keybindings list for nushell (#1270)
fixes #1189
Co-authored-by: Daniel Carosone <dan@geek.com.au>
-rw-r--r-- | atuin/src/shell/atuin.nu | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/atuin/src/shell/atuin.nu b/atuin/src/shell/atuin.nu index 33ce0068..673e99d0 100644 --- a/atuin/src/shell/atuin.nu +++ b/atuin/src/shell/atuin.nu @@ -46,3 +46,5 @@ $env.config = ( $env.config.hooks | get -i pre_prompt | default [] | append $_atuin_pre_prompt) ) ) + +$env.config = ($env.config | default [] keybindings) |