This is PSCommand, a plugin for the Keypirinha launcher.
PSCommand is a fork of the Command Keypirinha plugin.
This plugin provides an easy way to execute powershell commands from Keypirinha.
Since PSCommand is not in the PackageControl repository yet, perform a manual installation:
Download the latest plugin file from here.
Once the Command.keypirinha-package file is downloaded,
move it to the InstalledPackage folder located at:
Keypirinha\portable\Profile\InstalledPackagesin Portable mode- Or
%APPDATA%\Keypirinha\InstalledPackagesin Installed mode (the final path would look likeC:\Users\%USERNAME%\AppData\Roaming\Keypirinha\InstalledPackages)
NOTE: You may have to manually restart Keypirinha to see the package activated.
To use an alternate powershell binary, configure the shell variable.
To open the configuration, use the following keypirinha menu item:
Configure Package -> PSCommand
Here's an example of a custom powershell path:
[main]
shell = C:\MyPowershellFolder\pwsh.exeInvoke Keypirinha and put the command to be executed in following format:
[>] [command (can contain spaces)]
-OR-
[>>] [command (can contain spaces)]
e.g.
> echo 'Hello World'
>> ping google.com
Running any command with >> will close the shell after completion of the command.
In case of >, shell will be kept open.
- Keep Open: Do not close the prompt after running the command.
- Close CMD: Close the prompt after running the command.
NOTE: These actions have first preference, if applied with a command.
MIT, that's it.