Estlink cable disruption: Finnish Border Guard detains tanker linked to Russia
yle.fi8 pointsby juki2 comments
function Set-StackLocation ($Position) {
(gl -Stack).Path | select -Index $Position | cd
} curl: try 'curl --help' for more information
I assume you're thinking of the old Windows PowerShell that used to have curl/wget aliased to it's own commands, but that's not the case with the new cross-platform PowerShell. Set-PSReadLineOption -PredictionSource HistoryAndPlugin -PredictionViewStyle ListView
You can also toggle between the default inline and listview with F2. Also if you install Install-Module CompletionPredictor
and add this to your profile: Import-Module -Name CompletionPredictor
Set-PSReadLineOption -PredictionSource HistoryAndPlugin -PredictionViewStyle ListView
you also get the normal intellisense autocompletions in the listview. And remember that if you have all the help files installed locally you can use F1 to view help for the current parameter/command.
I suppose you could change the whole proc to something like