From a195c389b6aa4002637a6c5185e27353a1f3d8dc Mon Sep 17 00:00:00 2001 From: Daniel Carosone Date: Sat, 30 Sep 2023 02:06:24 +1000 Subject: [PATCH] handle empty keybindings list for nushell (#1270) fixes #1189 Co-authored-by: Daniel Carosone --- atuin/src/shell/atuin.nu | 2 ++ 1 file changed, 2 insertions(+) diff --git a/atuin/src/shell/atuin.nu b/atuin/src/shell/atuin.nu index 33ce006..673e99d 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)