From eb5e1c213cbcec425641d3cf67d52a30a2258fa9 Mon Sep 17 00:00:00 2001 From: JT <547158+jntrnr@users.noreply.github.com> Date: Sat, 1 Jul 2023 06:30:36 +1200 Subject: update nushell env update syntax (#1080) --- docs/docs/key-binding.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/docs/key-binding.md b/docs/docs/key-binding.md index 10d7953a..2069e250 100644 --- a/docs/docs/key-binding.md +++ b/docs/docs/key-binding.md @@ -87,12 +87,12 @@ bind -M insert \cr _atuin_search ## nu ``` -let-env ATUIN_NOBIND = true +$env.ATUIN_NOBIND = true atuin init nu | save -f ~/.local/share/atuin/init.nu #make sure you created the directory beforehand with `mkdir ~/.local/share/atuin/init.nu` source ~/.local/share/atuin/init.nu #bind to ctrl-r in emacs, vi_normal and vi_insert modes, add any other bindings you want here too -let-env config = ( +$env.config = ( $env.config | upsert keybindings ( $env.config.keybindings | append { -- cgit v1.3.1