From 1e3b2484be9f755d4a3ac9d55104d333d86ff94f Mon Sep 17 00:00:00 2001 From: Nando Vieira Date: Sat, 16 Nov 2024 10:00:30 -0800 Subject: [PATCH] Improve powershell instructions even more. --- docs/build/smart-contracts/getting-started/setup.mdx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/build/smart-contracts/getting-started/setup.mdx b/docs/build/smart-contracts/getting-started/setup.mdx index 3b640e0b8..183ce8168 100644 --- a/docs/build/smart-contracts/getting-started/setup.mdx +++ b/docs/build/smart-contracts/getting-started/setup.mdx @@ -227,10 +227,8 @@ stellar completion --shell powershell | Out-String | Invoke-Expression To enable autocomplete permanently, run the following commands, then restart your terminal: ```powershell -New-Item -ItemType Directory -Path $(Split-Path $PROFILE) -Force -if (-Not (Test-Path $PROFILE)) { New-Item -ItemType File -Path $PROFILE | Out-Null } -echo "Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete" >> $PROFILE -echo 'stellar completion --shell powershell | Out-String | Invoke-Expression' >> $PROFILE +Add-Content $PROFILE 'Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete' +Add-Content $PROFILE 'stellar completion --shell powershell | Out-String | Invoke-Expression' ```