aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJT <547158+jntrnr@users.noreply.github.com>2023-07-01 06:30:36 +1200
committerGitHub <noreply@github.com>2023-06-30 18:30:36 +0000
commiteb5e1c213cbcec425641d3cf67d52a30a2258fa9 (patch)
treecbbca335fe9f0710ef1c399ef180537f5d9f6f71 /docs
parentUpdate key-binding.md (diff)
downloadatuin-eb5e1c213cbcec425641d3cf67d52a30a2258fa9.zip
update nushell env update syntax (#1080)
Diffstat (limited to 'docs')
-rw-r--r--docs/docs/key-binding.md4
1 files changed, 2 insertions, 2 deletions
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 {