From d5b01d7393486b6df6ecc1be38720495fec64e8d Mon Sep 17 00:00:00 2001 From: Ohkubo KOHEI Date: Sun, 3 May 2026 22:51:01 +0900 Subject: [PATCH] Change exec command to use bash for variable echo https://mise.jdx.dev/environments/ bash parses `$MY_VAR` before mise exec. This document does not work. ```bash mise set MY_VAR=123 mise exec -- echo $MY_VAR # 123 ``` --- docs/environments/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/environments/index.md b/docs/environments/index.md index 2680fb9353..1876b9c0a4 100644 --- a/docs/environments/index.md +++ b/docs/environments/index.md @@ -45,7 +45,7 @@ Environment variables are available when using [`mise x|exec`](/cli/exec.html), ```shell mise set MY_VAR=123 -mise exec -- echo $MY_VAR +mise exec -- bash -c 'echo $MY_VAR' # 123 ```