From 6943bb182a112fd958f7c5f904db77ccc4d564ab Mon Sep 17 00:00:00 2001 From: Daniel Carosone Date: Fri, 29 Sep 2023 14:16:37 +1000 Subject: [PATCH] handle empty keybindings list for nushell fixes #1189 --- 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 33ce0068597..673e99d0570 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)