[[PowerShell]]7.2以降であればデフォルトで候補が表示される。 > [!info] [[PowerShell]]7.2より前バージョンの場合 > [[Fish-like autocompletion]]を有効にする。 > > ```powershell > Set-PSReadLineOption -PredictionSource History > ``` ## 参考 - [入力しようとしているコマンドを予測 ~PowerShellで「Predictive IntelliSense」が既定有効に \- 窓の杜](https://forest.watch.impress.co.jp/docs/news/1420812.html) - [\[PowerShell\] PSReadLine 2\.1がリリースされました \| DevelopersIO](https://dev.classmethod.jp/articles/powershell-psreadline-21-released/)