Skip to content

bast/history-window

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

history-window

Show command history "picture-in-picture" when teaching command line. Requires Bash.

Motivation for this:

  • This is nice for people using a tiling window manager
  • Only two commands to run, I guess could be collapsed to one
  • Only one terminal to deal with
  • Less for me to do and prepare before the lesson starts

Demo

demo

Installation

wget https://raw.githubusercontent.com/bast/history-window/main/history-window.sh
source history-window.sh

The nice thing is that it does not install or modify anything permanently. Once you close the terminal, it's gone. Only thing left behind might be:

  • history-window.sh which we downloaded
  • ~/history.txt which is the history file written to by the script

Status and roadmap

  • There are rough edges. Improvements are welcome.
  • Resizing kind of works, but requires a clear to redraw the window.
  • Currently only Bash. Let's add support for fish?

Similar projects

About

Show command history "picture-in-picture" when teaching command line.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages