Let's say I have the following files in my current directory:
buildBar.bat
buildFoo.bat
buildHouse.bat
And I type the following at my command prompt, ./bu
and then TAB.
In Bash, it gets expanded to ./build
In PowerShell, it gets expanded to ./buildBar.bat
-- the first item in the list.
In Cmd, the behavior is the same as PowerShell.
I prefer the Bash behaviour - is there a way to make PowerShell behave like Bash?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…