2

Recently Windows Terminal got updated and it got History suggestions. It looks like this:

enter image description here

As I type, it shows the history item that matches my entry. I thought pressing Tab would auto complete the portion in gray, but it doesn't. I tried various other hotkeys, but they do nothing either. I looked in Windows Terminal settings, but couldn't find anything relevant.

What can I do to enable completion of the text?

P.S. I am not 100% sure if this is a Windows Terminal feature. I suppose it could be Powershell or PSReadLine.

1 Answer 1

5

Looks like Az Predictor module is installed with your powershell. If that is the case, you need to press (right arrow key) to complete the cmdlet(s).

To check if Az Predictor is installed, run the following cmdlet:

Get-module -Name "Az.Tools.Predictor"
1
  • I don't have this module installed. But the shortcut key you suggested worked!!! Problem solved! Dec 1, 2022 at 17:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .