3 ms·
I've become a massive fan of PowerShell. Getting used to using TAB-completion helps immensely, as do the aliases like you mentioned. For TAB-completion I use
by Fr0styMatt88 7y ago
I've become a massive fan of PowerShell. Getting used to using TAB-completion helps immensely, as do the aliases like you mentioned.
For TAB-completion I use MenuComplete instead of the default (Set-PSReadLineKeyHandler -Key Tab -Function MenuComplete) as it gives you IPython-like completion menus. With something like posh-git, it's amazing: you can type git checkout and then press TAB and have an interactive menu of the branches you can switch to; or if you've done a 'git status' you can then do git add, press TAB and you get a menu that intelligently shows you what files you might want to add.
- vips7L 7y agoThanks I'm going to check this out. The only thing I miss in pwsh is fish like suggestions when typing.
- mavhc 7y agoThat's pretty great. My problem with powershell is it's verb-noun, I want to tab complete on Network, not get-Network
- no_wizard 7y agoThanks for the pro tip! I just switched over to this and immediately noticed a huge improvement in my powershell experience :)