From a83e466732284d8f7c3b0063b8b29c32c387d997 Mon Sep 17 00:00:00 2001 From: Jonathan Boeckel Date: Mon, 11 Aug 2025 20:15:29 +0200 Subject: [PATCH] docs: Update install instructions for nushell --- docs/installing-mise.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/installing-mise.md b/docs/installing-mise.md index 49ad24f8d1..88231e74a2 100644 --- a/docs/installing-mise.md +++ b/docs/installing-mise.md @@ -295,14 +295,10 @@ echo 'mise activate pwsh | Out-String | Invoke-Expression' >> $HOME\Documents\Po Nu does [not support `eval`](https://www.nushell.sh/book/how_nushell_code_gets_run.html#eval-function) -Install Mise by appending `env.nu` and `config.nu`: +Install Mise by activating it into the autoload dir: ```nushell -' -let mise_path = $nu.default-config-dir | path join mise.nu -^mise activate nu | save $mise_path --force -' | save $nu.env-path --append -"\nuse ($nu.default-config-dir | path join mise.nu)" | save $nu.config-path --append +'^mise activate nu | save --force ($nu.data-dir | path join vendor autoload mise.nu)' | save $nu.config-path --append ``` If you prefer to keep your dotfiles clean you can save it to a different directory then