-
-
Notifications
You must be signed in to change notification settings - Fork 315
Enable Tab Completion
Frans van Dorsselaer edited this page Jun 28, 2025
·
1 revision
Tab completion for PowerShell requires the following one-time-only activation steps.
-
Find the expected path to your PowerShell profile by running the following command:
echo $profile -
Add the following to your PowerShell profile using your favorite text editor:
# PowerShell parameter completion shim for usbipd-win Register-ArgumentCompleter -Native -CommandName usbipd -ScriptBlock { param($commandName, $wordToComplete, $cursorPosition) usbipd [suggest:$cursorPosition] "$wordToComplete" | ForEach-Object { [System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterValue', $_) } }
-
Restart PowerShell. All future PowerShell instances will have tab completion for
usbipd.