4 ms·
Anybody have a solution to get hostname completion in Powershell? ssh [letter][tab] gets me a list with my Zsh config. I looked briefly one time and couldn't
by doubled112 5y ago
Anybody have a solution to get hostname completion in Powershell?
ssh [letter][tab] gets me a list with my Zsh config. I looked briefly one time and couldn't find what I was looking for.
I have a fairly large SSH config file, and needing to open it to copy and paste hostnames from the file is the main reason I just use WSL.
- asimops 5y agoI don't have a solution but if you want to invest the time, you should have a look at https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/register-argumentcompleter?view=powershell-7.2 https://docs.microsoft.com/en-us/powershell/module/microsoft...
- majkinetor 5y agoWhats wrong with using $Env:ComputerName ?
- tssva 5y agohttps://gist.github.com/backerman/2c91d31d7a805460f93fe10bdfa0ffb0 https://gist.github.com/backerman/2c91d31d7a805460f93fe10bdf...