Skip to content

tui-cs/F7History

Repository files navigation

PowerShell Gallery Version (including pre-releases) PowerShell Gallery PowerShell Gallery All Contributors

F7 History Icon F7History - Graphical Command History for PowerShell.
A PowerShell module providing a graphical Command History activated by the `F7` and `Shift-F7` keys.
Built with Terminal.Gui and Out-ConsoleGridView by Tig.

✅ F7History is now built into PSTui

The F7/Shift+F7 graphical command history is folded into PSTui (the continuation of Microsoft.PowerShell.ConsoleGuiTools), so you no longer need a separate module:

Install-Module PSTui
Import-Module  PSTui   # registers F7 / Shift+F7 — add to your $PROFILE

F7/Shift+F7 work exactly as below, and PSTui also gives you Out-ConsoleGridView (ocgv) and Show-ObjectTree (shot). You can also call the picker directly as Show-PSTuiHistory. This standalone F7History module remains available but is no longer the recommended way to get F7 history.

Demo

Setup and usage is as easy as...

  1. At a PowerShell prompt, use Install-Module to install F7History from the PowerShell Gallery:
Install-Module -Name "F7History"
  1. Import the module using Import-Module; adding this command to your PowerShell $profile will ensure the F7History is always available.
Import-Module -Name "F7History"
  1. Press F7 or Shift-F7 to invoke.

For more details see the F7 History Documentation.

About

Use F7 as "Show Command History" in Powershell

Resources

License

Stars

Watchers

Forks

Contributors