Hacker News new | past | comments | ask | show | jobs | submit login

It does come with a ton of aliases to shorten up the names. I do find pwsh commands to be much more memberable than bash because of the verboseness and full named flags/switches.



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.


That's pretty great.

My problem with powershell is it's verb-noun, I want to tab complete on Network, not get-Network


Thanks for the pro tip! I just switched over to this and immediately noticed a huge improvement in my powershell experience :)


Thanks I'm going to check this out. The only thing I miss in pwsh is fish like suggestions when typing.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: