From b2026d4c785b648630b91431b4de778e2507b792 Mon Sep 17 00:00:00 2001 From: KOGA Mitsuhiro Date: Sat, 26 Nov 2022 22:44:43 +0900 Subject: [PATCH] sapling: Update notes (#4172) --- bucket/sapling.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bucket/sapling.json b/bucket/sapling.json index d2343fba9e..4d4d8c0f09 100644 --- a/bucket/sapling.json +++ b/bucket/sapling.json @@ -6,7 +6,7 @@ "notes": [ "The name of the Sapling CLI sl.exe conflicts with the sl shell built-in in PowerShell (sl is an alias for Set-Location, which is equivalent to cd).", "If you want to use sl to run sl.exe in PowerShell, you must reassign the alias to PowerShell $PROFILE by running:", - "Add-Content -Path $Profile -Value \"`nSet-Alias -Name sl -Value '$dir\\sl.exe' -Force -Option Constant,ReadOnly,AllScope\"" + "Add-Content -Path $Profile -Value \"`nSet-Alias -Name sl -Value `\"`$(scoop prefix sapling)\\sl.exe`\" -Force -Option Constant,ReadOnly,AllScope\"" ], "suggest": { "Node JS": "nodejs-lts",