From 0ca72ee01ae0ba44df64c903326ad7d14f302a16 Mon Sep 17 00:00:00 2001 From: Ethan Brierley Date: Mon, 26 Jun 2023 08:27:24 +0100 Subject: [PATCH] Update `nu` section in `key-bindings.md` - `set-env` -> `let-env` (#1074) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I don't think `set-env` exists ๐Ÿค” ``` โฏ : set-env ATUIN_NOBIND = true Error: nu::shell::external_command ร— External command failed โ•ญโ”€[entry #6:1:1] 1 โ”‚ set-env ATUIN_NOBIND = true ยท โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€ ยท โ•ฐโ”€โ”€ did you mean 'let-env'? โ•ฐโ”€โ”€โ”€โ”€ help: No such file or directory (os error 2) ``` --- docs/docs/key-binding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/key-binding.md b/docs/docs/key-binding.md index 82b0c91..3b4e35b 100644 --- a/docs/docs/key-binding.md +++ b/docs/docs/key-binding.md @@ -73,7 +73,7 @@ bind -M insert \cr _atuin_search # nu ``` -set-env ATUIN_NOBIND = true +let-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