Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 744 Bytes

File metadata and controls

28 lines (16 loc) · 744 Bytes

Config powershell with command autosuggestion

目录

操作

  1. First download powershell 7
Get-Host | Select-Object Version

winget search powershell

# If have more than one record, then use the version ID
winget install Microsoft.PowerShell

# Finally change the default terminal in terminal settings
  1. Config the autosuggestion autostart

Find the powershell 7 shortcut(快捷方式), right click property and replace the target with "C:\Program Files\PowerShell\7\pwsh.exe" -noe -c "&{ Set-PSReadLineOption -PredictionSource History -ShowToolTips}" -WorkingDirectory ~

返回目录