Skip to content

Commit

Permalink
Improve powershell instructions even more.
Browse files Browse the repository at this point in the history
  • Loading branch information
fnando committed Nov 16, 2024
1 parent d0aa4eb commit 1e3b248
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/build/smart-contracts/getting-started/setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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'
```

</TabItem>
Expand Down

0 comments on commit 1e3b248

Please sign in to comment.