Urgent.News

What's breaking now, across thousands of outlets.

Tech

PS7-Completion: Tab completion for Git, SSH and WinGet in PowerShell

The idea for PS7-Completion came from bash-completion. I wanted that same convenience in PowerShell: type part of a command, press Tab, and get some help with what comes next. PowerShell already has tab completion, but the experience with command-line tools depends on which tool you’re using and what completion support you have installed. I wanted to make more of the commands I use feel familiar…

The PS7-Completion module aims to provide tab completion for Git, SSH, WinGet, and other tools in PowerShell, similar to bash-completion. While existing tab completion in PowerShell varies based on the tool and installed support, PS7-Completion seeks to make more commands feel familiar. Currently supporting 34 tools on Windows PowerShell 7.4+, the module includes Git, SSH, WinGet, Docker, GitHub CLI, npm, pip, uv, Ruff, Cargo, and ripgrep.

Users can start typing a command, press Tab, and receive completion suggestions, without executing the command. Completion also utilizes host aliases from the SSH config for tools like staging-web. The module is open-source on GitHub under the MIT license, and feedback is welcomed for missing tools or incorrect suggestions.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

More from Thursday 22 October →